Hi,
I will represent scalar and vector products as separate products different from '*'. When substitutions are made for the vector symbol and basis symbol, I will evaluate the scalar and vector products.
One thing that is not clear to me however is indexing into vectors. If we have vector A and B, what should something like A.0 * B.1 signify? Should indexing be supported at all?
We already have classes (indexed, idx, varidx) designed for manipulating tensors without the need to resort to a specific basis. Your vector looks very similar. Could you please give a few examples (in a form of pseudocode or something like that) demonstrating what kind of operations/features your vector class is supposed to support? Best regards, Alexei -- All science is either physics or stamp collecting.