20 Feb
2011
20 Feb
'11
6:57 p.m.
Hi, Alexei, thank you for your detailed help.
See the tutorial (section titled `Non-commutative objects') for more details and examples. I looked at it and set the return_type() of my non-commutative symbol class to noncommutative_composite. If I understand the documentation correctly, this means that the ncsymbol does not commutate with anything. The advantage being that I can substitute it with any non-commutative object, not just with matrices.
Is that correct, or do I need to got the return_type_tinfo() way? I won't ever be substituting the ncsymbol with something commutative in my application so that shouldn't be a problem. Thanks for your help! Jan