perm_matrix
synopsis: INT perm_matrix(OP a,b)
description:
computes the permutation matrix. This is the matrix with
1 at the place (a_i, i) and 0 elsewhere. The permutation a must be
of the type VECTOR. a and b may be equal.
the return value is OK if no error occured.
example:
#include "def.h"
#include "macro.h"
ANFANG
scan(PERMUTATION,a); println(a);
perm_matrix(a,a); println(a);
ENDE
Send comments or suggestions to:
symmetrica (at) symmetrica
this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa