26 #if ! defined (octave_PermMatrix_h)
27 #define octave_PermMatrix_h 1
29 #include "octave-config.h"
68 {
return perm_length (); }
79 int ndims (
void)
const {
return 2; }
112 void print_info (std::ostream& os,
const std::string& prefix)
const
PermMatrix OCTAVE_API operator*(const PermMatrix &a, const PermMatrix &b)
N Dimensional Array with copy-on-write semantics.
octave_idx_type numel(void) const
Number of elements in the array.
Array< T > & operator=(const Array< T > &a)
T & elem(octave_idx_type n)
Size of the specified dimension.
T & operator()(octave_idx_type n)
Size of the specified dimension.
size_t byte_size(void) const
Size of the specified dimension.
T & checkelem(octave_idx_type n)
Size of the specified dimension.
Array< T > transpose(void) const
Size of the specified dimension.
octave_idx_type dim2(void) const
void print_info(std::ostream &os, const std::string &prefix) const
Size of the specified dimension.
octave_idx_type dim1(void) const
octave_idx_type perm_length(void) const
const Array< octave_idx_type > & col_perm_vec(void) const
octave_idx_type dim2(void) const
bool is_row_perm(void) const
octave_idx_type cols(void) const
octave_idx_type columns(void) const
octave_idx_type dim1(void) const
octave_idx_type elem(octave_idx_type i, octave_idx_type j) const
void print_info(std::ostream &os, const std::string &prefix) const
size_t byte_size(void) const
~PermMatrix(void)=default
octave_idx_type rows(void) const
PermMatrix(const PermMatrix &m)=default
dim_vector dims(void) const
octave_idx_type length(void) const
octave_idx_type numel(void) const
bool is_col_perm(void) const
Vector representing the dimensions (size) of an Array.