Is ncmul depreciated?
Christian Bauer
cbauer at student.physik.uni-mainz.de
Sun Apr 8 23:23:21 CEST 2001
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 at ginac.de with a subject of "unsubscribe".
More information about the GiNaC-list
mailing list