X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=doc%2Ftutorial%2Fginac.texi;h=93ed619ffc4c87b0e82de5b4fdaed6119d9e930f;hp=3db3518ee9a5cdf781b81d44e89e0624d9513eed;hb=27213d158e5ec4b606b4f4d0766bf75eeb18673f;hpb=67ce3e7263c01ffa9d6df8d31d4d5506776f3bf7 diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 3db3518e..93ed619f 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -3033,6 +3033,8 @@ canonicalize themselves according to rules specified in the implementation of the non-commutative classes. The drawback is that to work with other than the built-in algebras you have to implement new classes yourself. Both symbols and user-defined functions can be specified as being non-commutative. +For symbols, this is done by subclassing class symbol; for functions, +by explicitly setting the return type (@pxref{Symbolic functions}). @cindex @code{return_type()} @cindex @code{return_type_tinfo()}