Top
Back: LengthSymElement
Forward: Release Notes
FastBack: nctools_lib
FastForward: Release Notes
Up: qmatrix_lib
Top: Plural Manual
Contents: Table of Contents
Index: Index
About: About this document

B.8.0.5 LengthSym

Procedure from library qmatrix.lib (see qmatrix_lib).

Usage:
LengthSym(M); M an intmat representing a subset of S(n) (each row must be an element of S(n))

Return:
intvec, the i-th element is the length of the i-th row of M

Note:
If M is not a subset of S(n), the output may not have meaning

Example:
 
LIB "qmatrix.lib";
def M=SymGroup(3);
M;
==> 1,2,3,
==> 1,3,2,
==> 3,1,2,
==> 2,1,3,
==> 2,3,1,
==> 3,2,1 
LengthSym(M);
==> 0,1,2,1,2,3
SymGroup, LengthSymElement


Top Back: LengthSymElement Forward: Release Notes FastBack: nctools_lib FastForward: Release Notes Up: qmatrix_lib Top: Plural Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-1-99, August 2004, generated by texi2html.