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.de
this page was automatically generated on So Jan 4 10:35:55 CET 2009 on the machine btn6xf