23 #if ! defined (octave_PermMatrix_h)
24 #define octave_PermMatrix_h 1
26 #include "octave-config.h"
42 OCTAVE_DEPRECATED (
"use 'PermMatrix (p, false, true)' instead")
49 OCTAVE_DEPRECATED (
"use 'PermVector (idx, false, 0)' instead")
67 {
return perm_length (); }
69 OCTAVE_DEPRECATED (
"use 'numel' instead")
94 #if defined (OCTAVE_ENABLE_BOUNDS_CHECK)
PermMatrix OCTAVE_API operator*(const PermMatrix &a, const PermMatrix &b)
octave_idx_type rows(void) const
octave_idx_type numel(void) const
Number of elements in the array.
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 columns(void) const
octave_idx_type dim1(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
const Array< octave_idx_type > & col_perm_vec(void) const
nd deftypefn *octave_map m
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
N Dimensional Array with copy-on-write semantics.
T & checkelem(octave_idx_type n)
=val(i)}if ode{val(i)}occurs in table i
T & operator()(octave_idx_type n)
bool is_col_perm(void) const
size_t byte_size(void) const
Vector representing the dimensions (size) of an Array.
octave_idx_type dim2(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
octave_idx_type numel(void) const