´

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

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

University of Bayreuth -