35 (*current_liboctave_error_handler)
36 (
"PermMatrix: invalid permutation vector");
76 if (i < 0 || j < 0 || i > len || j > len)
78 (*current_liboctave_error_handler) (
"index out of range");
138 bool res_colp =
_colp;
141 res_colp = ! res_colp;
158 for (j = 1, ic = p[ics]; j != m && ic != ics; j++, ic = p[ic]) ;
164 for (j = 0, ic = ics; j != mm; j++, ic = p[ic]) ;
172 jcs = p[jcs]; ic = p[ic];
178 return PermMatrix (res_pvec, res_colp,
false);