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