|
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
|