´

zykeltyp

synopsis: INT zykeltyp(OP perm,part)

description:

computes the cyclestructure of the permutation perm, the result is a PARTITION object part, perm and part may be equal.

bug:

perm must be of VECTOR type.

example:

#include "def.h"
#include "macro.h"

 main()
 {
 OP a;
 anfang();
 a=callocobject();
 scan(INTEGER,a); println(a);
 random_permutation(a,a); println(a);
 zykeltyp(a,a); println(a);

 freeall(a);
 ende();
 }


Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:35:55 CET 2009 on the machine btn6xf

University of Bayreuth -