´

m_il_p

synopsis: INT m_il_p(INT l; OP p)

description:

builds a PERMUTATION object with empty entries of the specified length l. The kind of p becomes VECTOR.

example:

 This example reads with the standard C-function scanf a INT
 variable from stdin, and generates a permutation of the entered
 length, the entries of the list, representing the permutation are
 empty objects ( = # ).

#include "def.h"
#include "macro.h"
 main()
 {
 OP a;
 INT l;
 anfang();
 a = callocobject();
 scanf("%ld",&l);
 m_il_p(l,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 -