t_VECTOR_FROB
synopsis: INT t_VECTOR_FROB(OP a,b)
description:
computes for a PARTITION object a, which is in VECTOR notation, the same PARTITION object in FROBENIUS notation, which becomes the object b.example:
To construct a partition out of a VECTOR object, you have to
provide the VECTOR object, and you have to specify the specific
kind, look at the following example
#include "def.h"
#include "macro.h"
main()
{
OP v,p;
anfang();
v = callocobject(); p = callocobject();
m_il_v(2L,v);
m_i_i(1L,s_v_i(v,0L));
m_i_i(2L,s_v_i(v,1L));
b_ks_pa(VECTOR,v,p); println(p);
freeall(p);
/* dont free v, because it is part of p */
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