GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
PermMatrix Class Reference

#include "PermMatrix.h"

Inheritance diagram for PermMatrix:
Inheritance graph
[legend]
Collaboration diagram for PermMatrix:
Collaboration graph
[legend]

Public Member Functions

 PermMatrix (void)
 PermMatrix (octave_idx_type n)
 PermMatrix (const Array< octave_idx_type > &p, bool colp=false, bool check=true)
 PermMatrix (const PermMatrix &m)
 PermMatrix (const idx_vector &idx, bool colp=false, octave_idx_type n=0)
size_t byte_size (void) const
octave_idx_type checkelem (octave_idx_type i, octave_idx_type j) const
octave_idx_type cols (void) const
octave_idx_type columns (void) const
const octave_idx_typedata (void) const
octave_idx_type determinant (void) const
octave_idx_type dim1 (void) const
octave_idx_type dim2 (void) const
dim_vector dims (void) const
octave_idx_type elem (octave_idx_type i, octave_idx_type j) const
const octave_idx_typefortran_vec (void) const
octave_idx_typefortran_vec (void)
PermMatrix inverse (void) const
bool is_col_perm (void) const
bool is_row_perm (void) const
octave_idx_type length (void) const
octave_idx_type nelem (void) const
octave_idx_type numel (void) const
octave_idx_type operator() (octave_idx_type i, octave_idx_type j) const
octave_idx_type perm_length (void) const
PermMatrix power (octave_idx_type n) const
void print_info (std::ostream &os, const std::string &prefix) const
Array< octave_idx_typepvec (void) const
octave_idx_type rows (void) const
PermMatrix transpose (void) const

Static Public Member Functions

static PermMatrix eye (octave_idx_type n)

Protected Types

typedef bool(* compare_fcn_type )(typename ref_param< octave_idx_type >::type, typename ref_param< octave_idx_type >::type)
typedef ref_param
< octave_idx_type >::type 
crefT
typedef octave_idx_type element_type

Protected Member Functions

Array< octave_idx_typeas_column (void) const
Array< octave_idx_typeas_matrix (void) const
Array< octave_idx_typeas_row (void) const
void assign (const idx_vector &i, const Array< octave_idx_type > &rhs, const octave_idx_type &rfv)
void assign (const idx_vector &i, const Array< octave_idx_type > &rhs)
void assign (const idx_vector &i, const idx_vector &j, const Array< octave_idx_type > &rhs, const octave_idx_type &rfv)
void assign (const idx_vector &i, const idx_vector &j, const Array< octave_idx_type > &rhs)
void assign (const Array< idx_vector > &ia, const Array< octave_idx_type > &rhs, const octave_idx_type &rfv)
void assign (const Array< idx_vector > &ia, const Array< octave_idx_type > &rhs)
octave_idx_type capacity (void) const
octave_idx_typecheckelem (octave_idx_type n)
octave_idx_typecheckelem (octave_idx_type i, octave_idx_type j)
octave_idx_typecheckelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
octave_idx_typecheckelem (const Array< octave_idx_type > &ra_idx)
crefT checkelem (octave_idx_type n) const
crefT checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
crefT checkelem (const Array< octave_idx_type > &ra_idx) const
void chop_trailing_singletons (void) GCC_ATTR_DEPRECATED
void clear (void)
void clear (const dim_vector &dv)
void clear (octave_idx_type r, octave_idx_type c)
Array< octave_idx_typecolumn (octave_idx_type k) const
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j) const
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
octave_idx_type compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const
void delete_elements (const idx_vector &i)
void delete_elements (int dim, const idx_vector &i)
void delete_elements (const Array< idx_vector > &ia)
Array< octave_idx_typediag (octave_idx_type k=0) const
Array< octave_idx_typediag (octave_idx_type m, octave_idx_type n) const
octave_idx_type dim3 (void) const
octave_idx_typeelem (octave_idx_type n)
octave_idx_typeelem (octave_idx_type i, octave_idx_type j)
octave_idx_typeelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
octave_idx_typeelem (const Array< octave_idx_type > &ra_idx)
crefT elem (octave_idx_type n) const
crefT elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
crefT elem (const Array< octave_idx_type > &ra_idx) const
void fill (const octave_idx_type &val)
Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
Array< octave_idx_typehermitian (octave_idx_type(*fcn)(const octave_idx_type &)=0) const
Array< octave_idx_typeindex (const idx_vector &i) const
Array< octave_idx_typeindex (const idx_vector &i, const idx_vector &j) const
Array< octave_idx_typeindex (const Array< idx_vector > &ia) const
Array< octave_idx_typeindex (const idx_vector &i, bool resize_ok, const octave_idx_type &rfv) const
Array< octave_idx_typeindex (const idx_vector &i, bool resize_ok) const
Array< octave_idx_typeindex (const idx_vector &i, const idx_vector &j, bool resize_ok, const octave_idx_type &rfv) const
Array< octave_idx_typeindex (const idx_vector &i, const idx_vector &j, bool resize_ok) const
Array< octave_idx_typeindex (const Array< idx_vector > &ia, bool resize_ok, const octave_idx_type &rfv) const
Array< octave_idx_typeindex (const Array< idx_vector > &ia, bool resize_ok) const
Array< octave_idx_type > & insert (const Array< octave_idx_type > &a, const Array< octave_idx_type > &idx)
Array< octave_idx_type > & insert (const Array< octave_idx_type > &a, octave_idx_type r, octave_idx_type c)
Array< octave_idx_typeipermute (const Array< octave_idx_type > &vec) const
bool is_empty (void) const
bool is_shared (void)
sortmode is_sorted (sortmode mode=UNSORTED) const
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
bool is_square (void) const
bool is_vector (void) const
voidjit_array_rep (void) const
octave_idx_typejit_dimensions (void) const
intjit_ref_count (void)
octave_idx_typejit_slice_data (void) const
Array< octave_idx_typelinear_slice (octave_idx_type lo, octave_idx_type up) const
octave_idx_type lookup (const octave_idx_type &value, sortmode mode=UNSORTED) const
Array< octave_idx_typelookup (const Array< octave_idx_type > &values, sortmode mode=UNSORTED) const
void make_unique (void)
Array< U > map (F fcn) const
Array< U > map (U(&fcn)(octave_idx_type)) const
Array< U > map (U(&fcn)(const octave_idx_type &)) const
void maybe_economize (void)
voidmex_get_data (void) const
int ndims (void) const
octave_idx_type nnz (void) const
Array< octave_idx_typenth_element (const idx_vector &n, int dim=0) const
octave_idx_typeoperator() (octave_idx_type n)
octave_idx_typeoperator() (octave_idx_type i, octave_idx_type j)
octave_idx_typeoperator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
octave_idx_typeoperator() (const Array< octave_idx_type > &ra_idx)
crefT operator() (octave_idx_type n) const
crefT operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
crefT operator() (const Array< octave_idx_type > &ra_idx) const
bool optimize_dimensions (const dim_vector &dv)
Array< octave_idx_typepage (octave_idx_type k) const
octave_idx_type pages (void) const
Array< octave_idx_typepermute (const Array< octave_idx_type > &vec, bool inv=false) const
Array< octave_idx_typereshape (octave_idx_type nr, octave_idx_type nc) const
Array< octave_idx_typereshape (const dim_vector &new_dims) const
void resize (octave_idx_type n) GCC_ATTR_DEPRECATED
void resize (octave_idx_type nr, octave_idx_type nc, const octave_idx_type &rfv) GCC_ATTR_DEPRECATED
void resize (octave_idx_type nr, octave_idx_type nc) GCC_ATTR_DEPRECATED
void resize (const dim_vector &dv, const octave_idx_type &rfv)
void resize (const dim_vector &dv)
void resize1 (octave_idx_type n, const octave_idx_type &rfv)
void resize1 (octave_idx_type n)
virtual octave_idx_type resize_fill_value (void) const
Array< octave_idx_typesort (int dim=0, sortmode mode=ASCENDING) const
Array< octave_idx_typesort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
Array< octave_idx_typesqueeze (void) const
bool test (F fcn) const
bool test_all (F fcn) const
bool test_all (bool(&fcn)(octave_idx_type)) const
bool test_all (bool(&fcn)(const octave_idx_type &)) const
bool test_any (F fcn) const
bool test_any (bool(&fcn)(octave_idx_type)) const
bool test_any (bool(&fcn)(const octave_idx_type &)) const
octave_idx_typexelem (octave_idx_type n)
crefT xelem (octave_idx_type n) const
octave_idx_typexelem (octave_idx_type i, octave_idx_type j)
crefT xelem (octave_idx_type i, octave_idx_type j) const
octave_idx_typexelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
crefT xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
octave_idx_typexelem (const Array< octave_idx_type > &ra_idx)
crefT xelem (const Array< octave_idx_type > &ra_idx) const

Static Protected Member Functions

static Array< octave_idx_typecat (int dim, octave_idx_type n, const Array< octave_idx_type > *array_list)

Protected Attributes

dim_vector dimensions
Array< octave_idx_type >
::ArrayRep * 
rep
octave_idx_typeslice_data
octave_idx_type slice_len

Private Attributes

bool _colp

Friends

OCTAVE_API PermMatrix operator* (const PermMatrix &a, const PermMatrix &b)

Detailed Description

Definition at line 32 of file PermMatrix.h.

Member Typedef Documentation

typedef bool(* Array< octave_idx_type >::compare_fcn_type)(typename ref_param< octave_idx_type >::type, typename ref_param< octave_idx_type >::type)
inherited

Definition at line 128 of file Array.h.

typedef ref_param<octave_idx_type >::type Array< octave_idx_type >::crefT
inherited

Definition at line 126 of file Array.h.

Definition at line 124 of file Array.h.

Constructor & Destructor Documentation

PermMatrix::PermMatrix ( void  )
inline

Definition at line 37 of file PermMatrix.h.

Referenced by eye(), and power().

PermMatrix::PermMatrix ( octave_idx_type  n)

Definition at line 66 of file PermMatrix.cc.

References Array< octave_idx_type >::xelem().

PermMatrix::PermMatrix ( const Array< octave_idx_type > &  p,
bool  colp = false,
bool  check = true 
)
PermMatrix::PermMatrix ( const PermMatrix m)
inline

Definition at line 44 of file PermMatrix.h.

PermMatrix::PermMatrix ( const idx_vector idx,
bool  colp = false,
octave_idx_type  n = 0 
)

Member Function Documentation

Array<octave_idx_type > Array< octave_idx_type >::as_column ( void  ) const
inlineinherited

Definition at line 283 of file Array.h.

Array<octave_idx_type > Array< octave_idx_type >::as_matrix ( void  ) const
inlineinherited

Definition at line 303 of file Array.h.

Array<octave_idx_type > Array< octave_idx_type >::as_row ( void  ) const
inlineinherited

Definition at line 293 of file Array.h.

void Array< octave_idx_type >::assign ( const idx_vector i,
const Array< octave_idx_type > &  rhs,
const octave_idx_type rfv 
)
inherited
void Array< octave_idx_type >::assign ( const idx_vector i,
const Array< octave_idx_type > &  rhs 
)
inlineinherited

Definition at line 534 of file Array.h.

void Array< octave_idx_type >::assign ( const idx_vector i,
const idx_vector j,
const Array< octave_idx_type > &  rhs,
const octave_idx_type rfv 
)
inherited
void Array< octave_idx_type >::assign ( const idx_vector i,
const idx_vector j,
const Array< octave_idx_type > &  rhs 
)
inlineinherited

Definition at line 541 of file Array.h.

void Array< octave_idx_type >::assign ( const Array< idx_vector > &  ia,
const Array< octave_idx_type > &  rhs,
const octave_idx_type rfv 
)
inherited
void Array< octave_idx_type >::assign ( const Array< idx_vector > &  ia,
const Array< octave_idx_type > &  rhs 
)
inlineinherited

Definition at line 547 of file Array.h.

size_t PermMatrix::byte_size ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 66 of file PermMatrix.h.

Referenced by octave_perm_matrix::save_binary().

octave_idx_type Array< octave_idx_type >::capacity ( void  ) const
inlineinherited

Definition at line 273 of file Array.h.

static Array<octave_idx_type > Array< octave_idx_type >::cat ( int  dim,
octave_idx_type  n,
const Array< octave_idx_type > *  array_list 
)
staticinherited
octave_idx_type PermMatrix::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const

Reimplemented from Array< octave_idx_type >.

Definition at line 73 of file PermMatrix.cc.

References elem(), and length().

Referenced by octave_perm_matrix::do_index_op().

octave_idx_type & Array< octave_idx_type >::checkelem ( octave_idx_type  n)
inherited
octave_idx_type & Array< octave_idx_type >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inherited
octave_idx_type & Array< octave_idx_type >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inherited
crefT Array< octave_idx_type >::checkelem ( octave_idx_type  n) const
inherited
crefT Array< octave_idx_type >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inherited
crefT Array< octave_idx_type >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inherited
void Array< octave_idx_type >::chop_trailing_singletons ( void  )
inlineinherited

Definition at line 325 of file Array.h.

void Array< octave_idx_type >::clear ( void  )
inherited
void Array< octave_idx_type >::clear ( const dim_vector dv)
inherited
void Array< octave_idx_type >::clear ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Definition at line 270 of file Array.h.

octave_idx_type PermMatrix::cols ( void  ) const
inline
Array<octave_idx_type > Array< octave_idx_type >::column ( octave_idx_type  k) const
inherited
octave_idx_type PermMatrix::columns ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 56 of file PermMatrix.h.

References Array< T >::dim2().

Referenced by octave_print_internal(), and operator*().

octave_idx_type Array< octave_idx_type >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited
octave_idx_type Array< octave_idx_type >::compute_index ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inherited
octave_idx_type Array< octave_idx_type >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited
octave_idx_type Array< octave_idx_type >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 333 of file Array.h.

const octave_idx_type* PermMatrix::data ( void  ) const
inline
void Array< octave_idx_type >::delete_elements ( const idx_vector i)
inherited
void Array< octave_idx_type >::delete_elements ( int  dim,
const idx_vector i 
)
inherited
void Array< octave_idx_type >::delete_elements ( const Array< idx_vector > &  ia)
inherited
octave_idx_type PermMatrix::determinant ( void  ) const

Definition at line 101 of file PermMatrix.cc.

References data(), OCTAVE_LOCAL_BUFFER, and perm_length().

Referenced by Fdet().

Array<octave_idx_type > Array< octave_idx_type >::diag ( octave_idx_type  k = 0) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
inherited
octave_idx_type PermMatrix::dim1 ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 49 of file PermMatrix.h.

References jit_convention::length.

octave_idx_type PermMatrix::dim2 ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 51 of file PermMatrix.h.

References jit_convention::length.

octave_idx_type Array< octave_idx_type >::dim3 ( void  ) const
inlineinherited

Definition at line 280 of file Array.h.

dim_vector PermMatrix::dims ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 69 of file PermMatrix.h.

octave_idx_type PermMatrix::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 75 of file PermMatrix.h.

Referenced by checkelem().

octave_idx_type & Array< octave_idx_type >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 366 of file Array.h.

octave_idx_type & Array< octave_idx_type >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 372 of file Array.h.

octave_idx_type & Array< octave_idx_type >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Definition at line 374 of file Array.h.

octave_idx_type & Array< octave_idx_type >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 377 of file Array.h.

crefT Array< octave_idx_type >::elem ( octave_idx_type  n) const
inlineinherited

Definition at line 403 of file Array.h.

crefT Array< octave_idx_type >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Definition at line 408 of file Array.h.

crefT Array< octave_idx_type >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 411 of file Array.h.

PermMatrix PermMatrix::eye ( octave_idx_type  n)
static

Definition at line 182 of file PermMatrix.cc.

References PermMatrix().

Referenced by Fluupdate().

void Array< octave_idx_type >::fill ( const octave_idx_type val)
inherited
Array<octave_idx_type> Array< octave_idx_type >::find ( octave_idx_type  n = -1,
bool  backward = false 
) const
inherited
const octave_idx_type* PermMatrix::fortran_vec ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 114 of file PermMatrix.h.

Referenced by kron().

octave_idx_type* PermMatrix::fortran_vec ( void  )
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 117 of file PermMatrix.h.

Array<octave_idx_type > Array< octave_idx_type >::hermitian ( octave_idx_type (*)(const octave_idx_type &)  fcn = 0) const
inherited

Reimplemented in MArray< octave_idx_type >.

Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i,
const idx_vector j 
) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const Array< idx_vector > &  ia) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i,
bool  resize_ok,
const octave_idx_type rfv 
) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i,
bool  resize_ok 
) const
inlineinherited

Definition at line 511 of file Array.h.

Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok,
const octave_idx_type rfv 
) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok 
) const
inlineinherited

Definition at line 518 of file Array.h.

Array<octave_idx_type > Array< octave_idx_type >::index ( const Array< idx_vector > &  ia,
bool  resize_ok,
const octave_idx_type rfv 
) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::index ( const Array< idx_vector > &  ia,
bool  resize_ok 
) const
inlineinherited

Definition at line 526 of file Array.h.

Array<octave_idx_type >& Array< octave_idx_type >::insert ( const Array< octave_idx_type > &  a,
const Array< octave_idx_type > &  idx 
)
inherited
Array<octave_idx_type >& Array< octave_idx_type >::insert ( const Array< octave_idx_type > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited
PermMatrix PermMatrix::inverse ( void  ) const
Array<octave_idx_type > Array< octave_idx_type >::ipermute ( const Array< octave_idx_type > &  vec) const
inlineinherited

Reimplemented in MArray< octave_idx_type >.

Definition at line 453 of file Array.h.

bool PermMatrix::is_col_perm ( void  ) const
inline
bool Array< octave_idx_type >::is_empty ( void  ) const
inlineinherited

Definition at line 458 of file Array.h.

bool PermMatrix::is_row_perm ( void  ) const
inline
bool Array< octave_idx_type >::is_shared ( void  )
inlineinherited

Definition at line 471 of file Array.h.

sortmode Array< octave_idx_type >::is_sorted ( sortmode  mode = UNSORTED) const
inherited
sortmode Array< octave_idx_type >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited
bool Array< octave_idx_type >::is_square ( void  ) const
inlineinherited

Definition at line 456 of file Array.h.

bool Array< octave_idx_type >::is_vector ( void  ) const
inlineinherited

Definition at line 460 of file Array.h.

void* Array< octave_idx_type >::jit_array_rep ( void  ) const
inlineinherited

Definition at line 718 of file Array.h.

octave_idx_type* Array< octave_idx_type >::jit_dimensions ( void  ) const
inlineinherited

Definition at line 716 of file Array.h.

int* Array< octave_idx_type >::jit_ref_count ( void  )
inlineinherited

Definition at line 712 of file Array.h.

octave_idx_type * Array< octave_idx_type >::jit_slice_data ( void  ) const
inlineinherited

Definition at line 714 of file Array.h.

octave_idx_type PermMatrix::length ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 61 of file PermMatrix.h.

Referenced by checkelem().

Array<octave_idx_type > Array< octave_idx_type >::linear_slice ( octave_idx_type  lo,
octave_idx_type  up 
) const
inherited
octave_idx_type Array< octave_idx_type >::lookup ( const octave_idx_type value,
sortmode  mode = UNSORTED 
) const
inherited
Array<octave_idx_type> Array< octave_idx_type >::lookup ( const Array< octave_idx_type > &  values,
sortmode  mode = UNSORTED 
) const
inherited
void Array< octave_idx_type >::make_unique ( void  )
inlineinherited

Definition at line 110 of file Array.h.

Array<U> Array< octave_idx_type >::map ( F  fcn) const
inlineinherited

Definition at line 635 of file Array.h.

Array<U> Array< octave_idx_type >::map ( U(&)(octave_idx_type fcn) const
inlineinherited

Definition at line 666 of file Array.h.

Array<U> Array< octave_idx_type >::map ( U(&)(const octave_idx_type &)  fcn) const
inlineinherited

Definition at line 671 of file Array.h.

void Array< octave_idx_type >::maybe_economize ( void  )
inlineinherited

Definition at line 572 of file Array.h.

void* Array< octave_idx_type >::mex_get_data ( void  ) const
inlineinherited

Definition at line 587 of file Array.h.

int Array< octave_idx_type >::ndims ( void  ) const
inlineinherited

Definition at line 473 of file Array.h.

octave_idx_type PermMatrix::nelem ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 63 of file PermMatrix.h.

References Array< T >::dim1(), and Array< T >::dim2().

Referenced by octave_perm_matrix::try_narrowing_conversion().

octave_idx_type Array< octave_idx_type >::nnz ( void  ) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::nth_element ( const idx_vector n,
int  dim = 0 
) const
inherited
octave_idx_type PermMatrix::numel ( void  ) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 64 of file PermMatrix.h.

References Array< T >::nelem().

octave_idx_type PermMatrix::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 86 of file PermMatrix.h.

References Array< T >::checkelem(), and Array< T >::elem().

octave_idx_type & Array< octave_idx_type >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 389 of file Array.h.

octave_idx_type & Array< octave_idx_type >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 390 of file Array.h.

octave_idx_type & Array< octave_idx_type >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Definition at line 391 of file Array.h.

octave_idx_type & Array< octave_idx_type >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 393 of file Array.h.

crefT Array< octave_idx_type >::operator() ( octave_idx_type  n) const
inlineinherited

Definition at line 424 of file Array.h.

crefT Array< octave_idx_type >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Definition at line 427 of file Array.h.

crefT Array< octave_idx_type >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 430 of file Array.h.

bool Array< octave_idx_type >::optimize_dimensions ( const dim_vector dv)
inherited
Array<octave_idx_type > Array< octave_idx_type >::page ( octave_idx_type  k) const
inherited
octave_idx_type Array< octave_idx_type >::pages ( void  ) const
inlineinherited

Definition at line 315 of file Array.h.

octave_idx_type PermMatrix::perm_length ( void  ) const
inline

Definition at line 58 of file PermMatrix.h.

References jit_convention::length.

Referenced by determinant().

Array<octave_idx_type > Array< octave_idx_type >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const
inherited

Reimplemented in MArray< octave_idx_type >.

PermMatrix PermMatrix::power ( octave_idx_type  n) const

Definition at line 135 of file PermMatrix.cc.

References _colp, data(), Array< T >::fortran_vec(), PermMatrix(), and rows().

Referenced by xpow().

void PermMatrix::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
inline

Reimplemented from Array< octave_idx_type >.

Definition at line 120 of file PermMatrix.h.

Referenced by octave_perm_matrix::print_info().

Array<octave_idx_type> PermMatrix::pvec ( void  ) const
inline
Array<octave_idx_type > Array< octave_idx_type >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const
inlineinherited

Definition at line 446 of file Array.h.

Array<octave_idx_type > Array< octave_idx_type >::reshape ( const dim_vector new_dims) const
inlineinherited

Reimplemented in MArray< octave_idx_type >.

Definition at line 449 of file Array.h.

void Array< octave_idx_type >::resize ( octave_idx_type  n)
inlineinherited

Definition at line 490 of file Array.h.

void Array< octave_idx_type >::resize ( octave_idx_type  nr,
octave_idx_type  nc,
const octave_idx_type rfv 
)
inlineinherited

Definition at line 492 of file Array.h.

void Array< octave_idx_type >::resize ( octave_idx_type  nr,
octave_idx_type  nc 
)
inlineinherited

Definition at line 498 of file Array.h.

void Array< octave_idx_type >::resize ( const dim_vector dv,
const octave_idx_type rfv 
)
inherited
void Array< octave_idx_type >::resize ( const dim_vector dv)
inlineinherited

Definition at line 504 of file Array.h.

void Array< octave_idx_type >::resize1 ( octave_idx_type  n,
const octave_idx_type rfv 
)
inherited
void Array< octave_idx_type >::resize1 ( octave_idx_type  n)
inlineinherited

Definition at line 488 of file Array.h.

virtual octave_idx_type Array< octave_idx_type >::resize_fill_value ( void  ) const
virtualinherited
octave_idx_type PermMatrix::rows ( void  ) const
inline
Array<octave_idx_type > Array< octave_idx_type >::sort ( int  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::sort ( Array< octave_idx_type > &  sidx,
int  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
Array<octave_idx_type> Array< octave_idx_type >::sort_rows_idx ( sortmode  mode = ASCENDING) const
inherited
Array<octave_idx_type > Array< octave_idx_type >::squeeze ( void  ) const
inherited

Reimplemented in MArray< octave_idx_type >.

bool Array< octave_idx_type >::test ( F  fcn) const
inlineinherited

Definition at line 676 of file Array.h.

bool Array< octave_idx_type >::test_all ( F  fcn) const
inlineinherited

Definition at line 687 of file Array.h.

bool Array< octave_idx_type >::test_all ( bool(&)(octave_idx_type fcn) const
inlineinherited

Definition at line 697 of file Array.h.

bool Array< octave_idx_type >::test_all ( bool(&)(const octave_idx_type &)  fcn) const
inlineinherited

Definition at line 700 of file Array.h.

bool Array< octave_idx_type >::test_any ( F  fcn) const
inlineinherited

Definition at line 683 of file Array.h.

bool Array< octave_idx_type >::test_any ( bool(&)(octave_idx_type fcn) const
inlineinherited

Definition at line 691 of file Array.h.

bool Array< octave_idx_type >::test_any ( bool(&)(const octave_idx_type &)  fcn) const
inlineinherited

Definition at line 694 of file Array.h.

PermMatrix PermMatrix::transpose ( void  ) const

Reimplemented from Array< octave_idx_type >.

Definition at line 87 of file PermMatrix.cc.

References _colp.

Referenced by Flu(), inverse(), and LuAminusSigmaB().

octave_idx_type & Array< octave_idx_type >::xelem ( octave_idx_type  n)
inlineinherited

Definition at line 339 of file Array.h.

Referenced by PermMatrix().

crefT Array< octave_idx_type >::xelem ( octave_idx_type  n) const
inlineinherited

Definition at line 340 of file Array.h.

octave_idx_type & Array< octave_idx_type >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 342 of file Array.h.

crefT Array< octave_idx_type >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 344 of file Array.h.

octave_idx_type & Array< octave_idx_type >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Definition at line 347 of file Array.h.

crefT Array< octave_idx_type >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Definition at line 349 of file Array.h.

octave_idx_type & Array< octave_idx_type >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 352 of file Array.h.

crefT Array< octave_idx_type >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 355 of file Array.h.

Friends And Related Function Documentation

OCTAVE_API PermMatrix operator* ( const PermMatrix a,
const PermMatrix b 
)
friend

Definition at line 192 of file PermMatrix.cc.

Member Data Documentation

bool PermMatrix::_colp
private

Definition at line 126 of file PermMatrix.h.

Referenced by operator*(), power(), and transpose().

dim_vector Array< octave_idx_type >::dimensions
protectedinherited

Definition at line 133 of file Array.h.

Array<octave_idx_type >::ArrayRep* Array< octave_idx_type >::rep
protectedinherited

Definition at line 135 of file Array.h.

octave_idx_type * Array< octave_idx_type >::slice_data
protectedinherited

Definition at line 144 of file Array.h.

octave_idx_type Array< octave_idx_type >::slice_len
protectedinherited

Definition at line 145 of file Array.h.


The documentation for this class was generated from the following files: