[GiNaC-list] Vector versus indexed (Was: extending symbol)
    Alexei Sheplyakov 
    varg at theor.jinr.ru
       
    Tue Oct  7 14:55:53 CEST 2008
    
    
  
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20081007/f7190f9c/attachment.sig 
    
    
More information about the GiNaC-list
mailing list