Hi! On Sun, Apr 08, 2001 at 06:21:50PM +0200, Pearu Peterson wrote:
I have noticed that ncmul(2,a,3) results mul(a,6).
Why is this type change ncmul -> mul?
Because all factors are commutative. An ncmul() will automatically separate the commutative factors and group the non-commutative ones by type. Non-commutativity in GiNaC is a property of the objects. You can try it with matrices or (if you're using the CVS version) with color and clifford objects.
Will ncmul be depreciated in future?
NO WAY! It is fully operational and works better than ever before. :-) (now that '*' automatically generates ncmul()s when necessary) Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/ - To UNSUBSCRIBE, email to ginac-list@ginac.de with a subject of "unsubscribe".