23 #if !defined (octave_PermMatrix_h)
24 #define octave_PermMatrix_h 1
63 {
return perm_length (); }
87 #if defined (BOUNDS_CHECKING)
107 void print_info (std::ostream& os,
const std::string& prefix)
const
PermMatrix OCTAVE_API operator*(const PermMatrix &a, const PermMatrix &b)
octave_idx_type rows(void) const
octave_idx_type perm_length(void) const
octave_idx_type cols(void) const
octave_idx_type dim2(void) const
dim_vector dims(void) const
T & elem(octave_idx_type n)
void print_info(std::ostream &os, const std::string &prefix) const
octave_idx_type nelem(void) const
octave_idx_type columns(void) const
octave_idx_type dim1(void) const
octave_idx_type nelem(void) const
Number of elements in the array.
octave_idx_type dim1(void) const
size_t byte_size(void) const
const Array< octave_idx_type > & col_perm_vec(void) const
void print_info(std::ostream &os, const std::string &prefix) const
bool is_row_perm(void) const
Array< T > transpose(void) const
octave_idx_type length(void) const
octave_idx_type elem(octave_idx_type i, octave_idx_type j) const
Handles the reference counting for all the derived classes.
octave_idx_type length(void) const
Number of elements in the array.
T & checkelem(octave_idx_type n)
T & operator()(octave_idx_type n)
PermMatrix(const PermMatrix &m)
bool is_col_perm(void) const
size_t byte_size(void) const
octave_idx_type dim2(void) const
octave_idx_type numel(void) const