35 (*current_liboctave_error_handler)
36 (
"PermMatrix: invalid permutation vector");
58 setup (p,
false,
true);
64 setup (p, colp, check);
88 setup (idx,
false, 0);
108 if (i < 0 || j < 0 || i > len || j > len)
110 (*current_liboctave_error_handler) (
"index out of range");
199 for (j = 1, ic = p[ics]; j != m && ic != ics; j++, ic = p[ic]) ;
205 for (j = 0, ic = ics; j != mm; j++, ic = p[ic]) ;
213 jcs = p[jcs]; ic = p[ic];
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
octave_idx_type length(octave_idx_type n=0) const
octave_idx_type rows(void) const
static void gripe_invalid_permutation(void)
octave_idx_type perm_length(void) const
PermMatrix transpose(void) const
octave_idx_type checkelem(octave_idx_type i, octave_idx_type j) const
octave_idx_type columns(void) const
octave_idx_type determinant(void) const
PermMatrix operator*(const PermMatrix &a, const PermMatrix &b)
PermMatrix inverse(void) const
const Array< octave_idx_type > & col_perm_vec(void) const
const octave_idx_type * data(void) const
octave_idx_type elem(octave_idx_type i, octave_idx_type j) const
bool is_permutation(octave_idx_type n) const
PermMatrix pos_power(octave_idx_type m) const
octave_idx_type & xelem(octave_idx_type n)
octave_idx_type length(void) const
Number of elements in the array.
#define OCTAVE_LOCAL_BUFFER(T, buf, size)
const T * fortran_vec(void) const
static PermMatrix eye(octave_idx_type n)
PermMatrix power(octave_idx_type n) const
Array< T > & operator=(const Array< T > &a)
void setup(const Array< octave_idx_type > &p, bool colp, bool check)
Array< T > index(const idx_vector &i) const
Indexing without resizing.