´

first_partition

synopsis: INT first_partition(OP n, result)

description:

n must be an INTEGER object, and result becomes the PARTITION object of VECTOR kind, which is the first one according to many orders of partitions, namely the partition [n].

example:

 to loop over all partitions

#include "def.h"
#include "macro.h"
 ANFANG
 scan(INTEGER,a);
 first_partition(a,b);
 do {
 println(b);
 } while (next(b,b));
 ENDE


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

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

University of Bayreuth -