scan_permutation_cycle

synopsis: INT scan_permutation_cycle(OP a)

description:

as the default type of a PERMUTATION object is the VECTOR notation, we need a special routine to input a permutation of type ZYKEL. So the above routine reads a PERMUTATION object from the standard input. You use it instaed of scan(PERMUTATION,a) if you want to enter a PERMUTATION object with kind ZYKEL instaed of a PERMUTATION object of type VECTOR

example:

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

 main()
 {
 OP a;
 anfang();
 a=callocobject();
 scan_permutation_cycle(a);
 println(a);
 freeall(a);
 ende();
 }


Send comments or suggestions to:
symmetrica (at) symmetrica

this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa