dispsym occurs once in manual as an example, but is not defined or indexed in the manual.
(%i10) decsym(a,3,0,[cyc(all)],[]);
(%i12) dispsym(a,3,0);
(%o12) [[cyc, [[1, 2, 3]], []]]
It took me awhile to find how I could display the symmetry that I declared with decsym.
It would be nice to have this defined and then indexed in the available functions for itensor package.
Can this by added to the manual in itensor.texi?
diff --git a/doc/info/Itensor.texi b/doc/info/Itensor.texi
index e398020..e184c9b 100644
--- a/doc/info/Itensor.texi
+++ b/doc/info/Itensor.texi
@@ -1092,6 +1092,17 @@
@end deffn
@c -----------------------------------------------------------------------------
+@anchor{dispsym}
+@deffn {Function} dispsym (@var{tensor}, @var{m}, @var{n})
+Displays all of the defined symmetries from @var{tensor} which has @var{m}
+covariant indices and @var{n} contravariant indices.
+
+@opencatbox{Categories:}
+@category{Package itensor}
+@closecatbox
+@end deffn
+
+@c -----------------------------------------------------------------------------
@anchor{canform}
@deffn {Function} canform @
@fname{canform} (@var{expr}) @
I added a patch attachment file for the manual change.
====
Last edit: Richard Gobeli 2022-07-10
This is an updated patch which adds the function dispsym to the itensor.texi file. It would be nice if someone could add this to the master.
Thanks,
I think this is done after the link to the example in decsym is fixed. The reference to decsym should be the following @mref{decsym} as in canform.
Last edit: Richard Gobeli 2022-09-12
Fixed by commit f7610a2 dated 2022-08-30; appeared in Maxima 5.47.0.