On Mon, 23 Nov 2015 18:35:12 +0100, Jan Rheinländer <jrheinlaender@gmx.de> said:
JR> Hi, in chapter 4.15 "Non-commutative objects" the GiNaC JR> documentation says: JR> "Both symbols and user-defined functions can be specified as JR> being non-commutative" This seems to be a bug of the documentation, functions are the only objects which admit such user-defined specification. Quoting the previous discussion on this: "I couldn't figure out how to create a non-commutative symbol, though, except by defining a new subclass of symbol and overloading return_type()" http://www.ginac.de/pipermail/ginac-list/2011-February/001802.html Best wishes, Vladimir -- Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/ Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu Software: Geometry of cycles http://moebinv.sourceforge.net/