how to do subs for symmetric indexed objects?

Yong Xiao yxiao at zimp.zju.edu.cn
Fri Jun 27 12:06:13 CEST 2003


Hello,
I am tring to substitute Y_{imn}t_{nj} by Y_{jmn}t_{ni} where Y is a 
symmetric indexed object. My code for this is like
indexed(Y,sy_symm(),i_,m_,n_)*indexed(t,n_,j_)
==indexed(Y,sy_symm(),j_,n_,m_)*indexed(t,n_,i_)
where i_,j_,m_ and n_ are wildcards. But the code doesn't work. Attached 
  is the code.
How should I do? Thanks
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sub.cpp
Url: http://www.cebix.net/pipermail/ginac-list/attachments/20030627/14893bdb/sub.cpp


More information about the GiNaC-list mailing list