23 #if ! defined (octave_PermMatrix_h) 24 #define octave_PermMatrix_h 1 26 #include "octave-config.h" 61 {
return perm_length (); }
63 OCTAVE_DEPRECATED (4.4,
"use 'numel' instead")
75 int ndims (
void)
const {
return 2; }
octave_idx_type dim1(void) const
octave_idx_type numel(void) const
PermMatrix OCTAVE_API operator*(const PermMatrix &a, const PermMatrix &b)
octave_idx_type dim1(void) const
octave_idx_type rows(void) const
bool is_row_perm(void) const
void print_info(std::ostream &os, const std::string &prefix) const
T & elem(octave_idx_type n)
octave_idx_type perm_length(void) const
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
size_t byte_size(void) const
octave_idx_type dim2(void) const
Array< T > transpose(void) const
const Array< octave_idx_type > & col_perm_vec(void) const
octave_idx_type elem(octave_idx_type i, octave_idx_type j) const
octave_idx_type columns(void) const
N Dimensional Array with copy-on-write semantics.
void print_info(std::ostream &os, const std::string &prefix) const
T & checkelem(octave_idx_type n)
T & operator()(octave_idx_type n)
octave_idx_type length(void) const
PermMatrix(const PermMatrix &m)
octave_idx_type dim2(void) const
octave_idx_type cols(void) const
octave_idx_type numel(void) const
Number of elements in the array.
Vector representing the dimensions (size) of an Array.
size_t byte_size(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
dim_vector dims(void) const
bool is_col_perm(void) const