# c_p_k

### synopsis: c_p_k(OP p, OBJECTKIND k)

### description:

changes the value, which indicates the type of the PERMUTATION object p. Up to now there are only two kinds, which are allowed, i.e. VECTOR and ZYKEL. If you use the macro, there will be no checks, on valid input parameters.### example:

.... scan(PERMUTATION,a); println(a); c_p_k(a,ZYKEL); println(a); .... The data remains unchanged, but is interpreted as a permutation in cycle notation, if you enter for example the permutation (in list notation, which is the default) [3,5,4,1,2] the second println will output (3,5,4)(1,2)

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