Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes

MDiagArray2< T > Class Template Reference

#include "MDiagArray2.h"

Inheritance diagram for MDiagArray2< T >:
Inheritance graph
[legend]
Collaboration diagram for MDiagArray2< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MDiagArray2 (void)
 MDiagArray2 (octave_idx_type r, octave_idx_type c)
 MDiagArray2 (const MDiagArray2< T > &a)
 MDiagArray2 (const Array< T > &a, octave_idx_type r, octave_idx_type c)
 MDiagArray2 (const DiagArray2< T > &a)
 MDiagArray2 (octave_idx_type r, octave_idx_type c, const T &val)
template<class U >
 MDiagArray2 (const DiagArray2< U > &a)
 MDiagArray2 (const Array< T > &a)
 ~MDiagArray2 (void)
MArray< T > array_value () const
DiagArray2< T > build_diag_matrix () const
size_t byte_size (void) const
checkelem (octave_idx_type r, octave_idx_type c) const
T & checkelem (octave_idx_type r, octave_idx_type c)
octave_idx_type cols (void) const
octave_idx_type columns (void) const
const T * data (void) const
dgelem (octave_idx_type i) const
T & dgelem (octave_idx_type i)
T & dgxelem (octave_idx_type i)
dgxelem (octave_idx_type i) const
MArray< T > diag (octave_idx_type k=0) const
octave_idx_type diag_length (void) const
octave_idx_type dim1 (void) const
octave_idx_type dim2 (void) const
dim_vector dims (void) const
elem (octave_idx_type r, octave_idx_type c) const
T & elem (octave_idx_type r, octave_idx_type c)
Array< T > extract_diag (octave_idx_type k=0) const
T * fortran_vec (void)
const T * fortran_vec (void) const
MDiagArray2< T > hermitian (T(*fcn)(const T &)=0) const
bool is_multiple_of_identity (T val) const
octave_idx_type length (void) const
octave_idx_type nelem (void) const
octave_idx_type nnz (void) const
octave_idx_type numel (void) const
operator() (octave_idx_type r, octave_idx_type c) const
T & operator() (octave_idx_type r, octave_idx_type c)
MDiagArray2< T > & operator= (const MDiagArray2< T > &a)
void print_info (std::ostream &os, const std::string &prefix) const
void resize (octave_idx_type n, octave_idx_type m, const T &rfv=Array< T >::resize_fill_value())
octave_idx_type rows (void) const
MDiagArray2< T > transpose (void) const
xelem (octave_idx_type r, octave_idx_type c) const

Protected Types

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

Protected Member Functions

Array< T > as_column (void) const
Array< T > as_matrix (void) const
Array< T > as_row (void) const
void assign (const idx_vector &i, const Array< T > &rhs, const T &rfv=resize_fill_value())
void assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv=resize_fill_value())
void assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv=resize_fill_value())
octave_idx_type capacity (void) const
T & checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
T & checkelem (const Array< octave_idx_type > &ra_idx)
T & checkelem (octave_idx_type n)
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 (octave_idx_type r, octave_idx_type c)
void clear (void)
void clear (const dim_vector &dv)
Array< T > column (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)
octave_idx_type dim3 (void) const
crefT elem (octave_idx_type n) const
T & elem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
crefT elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
T & elem (octave_idx_type n)
crefT elem (const Array< octave_idx_type > &ra_idx) const
T & elem (const Array< octave_idx_type > &ra_idx)
void fill (const T &val)
Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
Array< T > index (const idx_vector &i) const
Array< T > index (const idx_vector &i, const idx_vector &j) const
Array< T > index (const Array< idx_vector > &ia) const
Array< T > index (const idx_vector &i, bool resize_ok, const T &rfv=resize_fill_value()) const
Array< T > index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv=resize_fill_value()) const
Array< T > index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv=resize_fill_value()) const
Array< T > & insert (const Array< T > &a, const Array< octave_idx_type > &idx)
Array< T > & insert (const Array< T > &a, octave_idx_type r, octave_idx_type c)
Array< T > ipermute (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
Array< T > linear_slice (octave_idx_type lo, octave_idx_type up) const
octave_idx_type lookup (const T &value, sortmode mode=UNSORTED) const
Array< octave_idx_typelookup (const Array< T > &values, sortmode mode=UNSORTED) const
void make_unique (void)
template<class U , class F >
Array< U > map (F fcn) const
template<class U >
Array< U > map (U(&fcn)(T)) const
template<class U >
Array< U > map (U(&fcn)(const T &)) const
void maybe_economize (void)
void * mex_get_data (void) const
int ndims (void) const
Array< T > nth_element (const idx_vector &n, int dim=0) const
crefT operator() (const Array< octave_idx_type > &ra_idx) const
crefT operator() (octave_idx_type n) const
crefT operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
T & operator() (octave_idx_type n)
T & operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
T & operator() (const Array< octave_idx_type > &ra_idx)
bool optimize_dimensions (const dim_vector &dv)
Array< T > page (octave_idx_type k) const
octave_idx_type pages (void) const
Array< T > permute (const Array< octave_idx_type > &vec, bool inv=false) const
Array< T > reshape (const dim_vector &new_dims) const
Array< T > reshape (octave_idx_type nr, octave_idx_type nc) const
void resize (const dim_vector &dv, const T &rfv=resize_fill_value())
void resize (octave_idx_type n) GCC_ATTR_DEPRECATED
void resize1 (octave_idx_type n, const T &rfv=resize_fill_value())
Array< T > sort (int dim=0, sortmode mode=ASCENDING) const
Array< T > sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
Array< T > squeeze (void) const
template<class F , bool zero>
bool test (F fcn) const
bool test_all (bool(&fcn)(T)) const
template<class F >
bool test_all (F fcn) const
bool test_all (bool(&fcn)(const T &)) const
bool test_any (bool(&fcn)(const T &)) const
bool test_any (bool(&fcn)(T)) const
template<class F >
bool test_any (F fcn) const
crefT xelem (const Array< octave_idx_type > &ra_idx) const
T & xelem (octave_idx_type n)
T & xelem (octave_idx_type i, octave_idx_type j)
crefT xelem (octave_idx_type n) const
T & xelem (const Array< octave_idx_type > &ra_idx)
crefT xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
T & xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)

Static Protected Member Functions

static Array< T > cat (int dim, octave_idx_type n, const Array< T > *array_list)
static const T & resize_fill_value ()

Protected Attributes

octave_idx_type d1
octave_idx_type d2
dim_vector dimensions
Array< T >::ArrayReprep
T * slice_data
octave_idx_type slice_len

Detailed Description

template<class T>
class MDiagArray2< T >

Definition at line 40 of file MDiagArray2.h.


Member Typedef Documentation

template<class T>
typedef bool(* Array< T >::compare_fcn_type)(typename ref_param< T >::type, typename ref_param< T >::type) [inherited]

Definition at line 127 of file Array.h.

template<class T>
typedef ref_param<T>::type Array< T >::crefT [inherited]

Definition at line 125 of file Array.h.

template<class T>
typedef T Array< T >::element_type [inherited]

Definition at line 123 of file Array.h.


Constructor & Destructor Documentation

template<class T>
MDiagArray2< T >::MDiagArray2 ( void   )  [inline]

Definition at line 45 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

Definition at line 47 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( octave_idx_type  r,
octave_idx_type  c,
const T &  val 
) [inline]

Definition at line 49 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( const MDiagArray2< T > &  a  )  [inline]

Definition at line 51 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( const DiagArray2< T > &  a  )  [inline]

Definition at line 53 of file MDiagArray2.h.

template<class T>
template<class U >
MDiagArray2< T >::MDiagArray2 ( const DiagArray2< U > &  a  )  [inline]

Definition at line 56 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( const Array< T > &  a  )  [inline, explicit]

Definition at line 58 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::MDiagArray2 ( const Array< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inline]

Definition at line 60 of file MDiagArray2.h.

template<class T>
MDiagArray2< T >::~MDiagArray2 ( void   )  [inline]

Definition at line 63 of file MDiagArray2.h.


Member Function Documentation

template<class T>
MArray<T> MDiagArray2< T >::array_value ( void   )  const [inline]

Reimplemented from DiagArray2< T >.

Definition at line 71 of file MDiagArray2.h.

template<class T>
Array<T> Array< T >::as_column ( void   )  const [inline, inherited]

Definition at line 274 of file Array.h.

template<class T>
Array<T> Array< T >::as_matrix ( void   )  const [inline, inherited]

Definition at line 294 of file Array.h.

template<class T>
Array<T> Array< T >::as_row ( void   )  const [inline, inherited]

Definition at line 284 of file Array.h.

template<class T>
void Array< T >::assign ( const idx_vector i,
const Array< T > &  rhs,
const T &  rfv = resize_fill_value () 
) [inherited]
template<class T>
void Array< T >::assign ( const idx_vector i,
const idx_vector j,
const Array< T > &  rhs,
const T &  rfv = resize_fill_value () 
) [inherited]
template<class T>
void Array< T >::assign ( const Array< idx_vector > &  ia,
const Array< T > &  rhs,
const T &  rfv = resize_fill_value () 
) [inherited]
template<class T>
DiagArray2<T> DiagArray2< T >::build_diag_matrix (  )  const [inline, inherited]

Definition at line 102 of file DiagArray2.h.

template<class T>
size_t DiagArray2< T >::byte_size ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 96 of file DiagArray2.h.

template<class T>
octave_idx_type Array< T >::capacity ( void   )  const [inline, inherited]
template<class T>
Array< T > Array< T >::cat ( int  dim,
octave_idx_type  n,
const Array< T > *  array_list 
) [static, inherited]
template<class T>
T& DiagArray2< T >::checkelem ( octave_idx_type  r,
octave_idx_type  c 
) [inline, inherited]

Reimplemented from Array< T >.

Definition at line 141 of file DiagArray2.h.

template<class T >
T & Array< T >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) [inherited]

Definition at line 209 of file Array.cc.

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

template<class T >
T & Array< T >::checkelem ( octave_idx_type  n  )  [inherited]
template<class T >
T & Array< T >::checkelem ( const Array< octave_idx_type > &  ra_idx  )  [inherited]

Definition at line 216 of file Array.cc.

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

template<class T >
Array< T >::crefT Array< T >::checkelem ( octave_idx_type  n  )  const [inherited]
template<class T >
Array< T >::crefT Array< T >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const [inherited]

Definition at line 243 of file Array.cc.

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

template<class T >
Array< T >::crefT Array< T >::checkelem ( const Array< octave_idx_type > &  ra_idx  )  const [inherited]

Definition at line 250 of file Array.cc.

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

template<class T>
T DiagArray2< T >::checkelem ( octave_idx_type  r,
octave_idx_type  c 
) const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 127 of file DiagArray2.h.

template<class T>
void Array< T >::chop_trailing_singletons ( void   )  [inline, inherited]

Definition at line 315 of file Array.h.

template<class T >
void Array< T >::clear ( void   )  [inherited]
template<class T >
void Array< T >::clear ( const dim_vector dv  )  [inherited]
template<class T>
void Array< T >::clear ( octave_idx_type  r,
octave_idx_type  c 
) [inline, inherited]

Definition at line 261 of file Array.h.

Referenced by Array< octave_value >::clear().

template<class T>
octave_idx_type DiagArray2< T >::cols ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 87 of file DiagArray2.h.

Referenced by FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), DiagArray2< T >::diag(), octave_diag_matrix::do_index_op(), imag(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), kron(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), operator*(), FloatMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), Matrix::operator-=(), operator<<(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), real(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::stack(), and xpow().

template<class T >
Array< T > Array< T >::column ( octave_idx_type  k  )  const [inherited]
template<class T>
octave_idx_type DiagArray2< T >::columns ( void   )  const [inline, inherited]
template<class T >
octave_idx_type Array< T >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const [inherited]

Definition at line 168 of file Array.cc.

References Array< T >::dimensions.

Referenced by Array< T >::checkelem(), and Array< T >::compute_index().

template<class T >
octave_idx_type Array< T >::compute_index ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const [inherited]

Definition at line 175 of file Array.cc.

References Array< T >::compute_index(), and Array< T >::dimensions.

template<class T >
octave_idx_type Array< T >::compute_index ( const Array< octave_idx_type > &  ra_idx  )  const [inherited]

Definition at line 182 of file Array.cc.

References Array< T >::compute_index(), and Array< T >::dimensions.

template<class T>
octave_idx_type Array< T >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 322 of file Array.h.

template<class T>
const T* DiagArray2< T >::data ( void   )  const [inline, inherited]
template<class T >
void Array< T >::delete_elements ( const idx_vector i  )  [inherited]
template<class T >
void Array< T >::delete_elements ( int  dim,
const idx_vector i 
) [inherited]
template<class T >
void Array< T >::delete_elements ( const Array< idx_vector > &  ia  )  [inherited]
template<class T>
T DiagArray2< T >::dgelem ( octave_idx_type  i  )  const [inline, inherited]

Definition at line 121 of file DiagArray2.h.

Referenced by DiagArray2< T >::array_value(), kron(), operator*(), and xpow().

template<class T>
T& DiagArray2< T >::dgelem ( octave_idx_type  i  )  [inline, inherited]

Definition at line 124 of file DiagArray2.h.

template<class T>
T& DiagArray2< T >::dgxelem ( octave_idx_type  i  )  [inline, inherited]

Definition at line 163 of file DiagArray2.h.

Referenced by operator*().

template<class T>
T DiagArray2< T >::dgxelem ( octave_idx_type  i  )  const [inline, inherited]

Definition at line 166 of file DiagArray2.h.

template<class T>
MArray<T> MDiagArray2< T >::diag ( octave_idx_type  k = 0  )  const [inline]
template<class T>
octave_idx_type DiagArray2< T >::diag_length ( void   )  const [inline, inherited]

Definition at line 90 of file DiagArray2.h.

Referenced by kron().

template<class T>
octave_idx_type DiagArray2< T >::dim1 ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 83 of file DiagArray2.h.

Referenced by DiagArray2< T >::check_idx(), and DiagArray2< T >::resize().

template<class T>
octave_idx_type DiagArray2< T >::dim2 ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 84 of file DiagArray2.h.

Referenced by DiagArray2< T >::check_idx(), and DiagArray2< T >::resize().

template<class T>
octave_idx_type Array< T >::dim3 ( void   )  const [inline, inherited]

Definition at line 271 of file Array.h.

template<class T>
dim_vector DiagArray2< T >::dims ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 98 of file DiagArray2.h.

Referenced by DiagArray2< T >::array_value().

template<class T>
T DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
) const [inline, inherited]
template<class T>
T& DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
) [inline, inherited]

Reimplemented from Array< T >.

Definition at line 115 of file DiagArray2.h.

template<class T>
T& Array< T >::elem ( octave_idx_type  n  )  [inline, inherited]

Definition at line 353 of file Array.h.

Referenced by intNDArray< T >::abs(), intNDArray< T >::any_element_not_one_or_zero(), atan2(), FloatAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), AEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), octave_matrix::char_array_value(), octave_range::char_array_value(), octave_float_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), Array< T >::checkelem(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_max(), ComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), Matrix::column_min(), ComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), FloatNDArray::concat(), NDArray::concat(), charNDArray::concat(), conv_to_int_array(), printf_format_list::current(), ddaspk_f(), ddaspk_j(), ddasrt_j(), ddassl_f(), ddassl_j(), DEFUN(), DEFUN_DLD(), delete_graphics_objects(), DiagArray2< Complex >::dgelem(), Array< T >::diag(), dmsolve_extract(), LSODE::do_integrate(), DiagArray2< Complex >::elem(), Array< octave_value >::elem(), FloatDiagMatrix::extract(), FloatComplexRowVector::extract(), FloatComplexDiagMatrix::extract(), FloatComplexColumnVector::extract(), DiagMatrix::extract(), ComplexRowVector::extract(), charMatrix::extract(), ComplexDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), SparseComplexMatrix::fsolve(), get_elt_idx(), octave_rand::get_internal_state(), Givens(), FloatHESS::init(), FloatGEPBALANCE::init(), FloatEIG::init(), FloatComplexHESS::init(), FloatComplexGEPBALANCE::init(), EIG::init(), HESS::init(), GEPBALANCE::init(), ComplexHESS::init(), ComplexGEPBALANCE::init(), FloatRowVector::insert(), FloatMatrix::insert(), FloatComplexRowVector::insert(), FloatColumnVector::insert(), FloatComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexColumnVector::insert(), RowVector::insert(), Matrix::insert(), ColumnVector::insert(), ComplexRowVector::insert(), ComplexNDArray::insert(), ComplexMatrix::insert(), ComplexColumnVector::insert(), octave_value::int_vector_value(), DASSL::integrate(), DASRT::integrate(), DASPK::integrate(), Array< T >::is_sorted(), Array< T >::is_sorted_rows(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_cell::load_binary(), Array< T >::lookup(), lsode_f(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), Matrix::Matrix(), matrix_real_probe(), SparseBoolMatrix::matrix_value(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value::octave_idx_type_vector_value(), intNDArray< T >::operator!(), boolMatrix::operator!(), PermMatrix::operator()(), operator*(), operator<<(), operator>>(), string_vector::operator[](), parse_dbfunction_params(), Array< T >::permute(), plus_or_minus(), FloatMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), read_mat_ascii_data(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_max(), ComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), Matrix::row_min(), ComplexMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_rand::set_internal_state(), intNDArray< T >::signum(), Sparse< T >::Sparse(), try_cellfun_internal_ops(), and x_el_div().

template<class T>
T& Array< T >::elem ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 363 of file Array.h.

template<class T>
T& Array< T >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) [inline, inherited]

Definition at line 361 of file Array.h.

Referenced by Array< octave_value >::elem().

template<class T>
crefT Array< T >::elem ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 383 of file Array.h.

template<class T>
crefT Array< T >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const [inline, inherited]

Definition at line 387 of file Array.h.

template<class T>
crefT Array< T >::elem ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 389 of file Array.h.

template<class T >
Array< T > DiagArray2< T >::extract_diag ( octave_idx_type  k = 0  )  const [inherited]

Definition at line 51 of file DiagArray2.cc.

References DiagArray2< T >::diag().

template<class T>
void Array< T >::fill ( const T &  val  )  [inherited]
template<class T >
Array< octave_idx_type > Array< T >::find ( octave_idx_type  n = -1,
bool  backward = false 
) const [inherited]
template<class T>
const T* DiagArray2< T >::fortran_vec ( void   )  const [inline, inherited]
template<class T>
T* DiagArray2< T >::fortran_vec ( void   )  [inline, inherited]

Reimplemented from Array< T >.

Definition at line 181 of file DiagArray2.h.

template<class T>
MDiagArray2<T> MDiagArray2< T >::hermitian ( T(*)(const T &)  fcn = 0  )  const [inline]

Reimplemented from DiagArray2< T >.

Definition at line 97 of file MDiagArray2.h.

Referenced by FloatComplexDiagMatrix::hermitian(), and ComplexDiagMatrix::hermitian().

template<class T >
Array< T > Array< T >::index ( const idx_vector i  )  const [inherited]
template<class T >
Array< T > Array< T >::index ( const idx_vector i,
const idx_vector j 
) const [inherited]
template<class T>
Array< T > Array< T >::index ( const idx_vector i,
bool  resize_ok,
const T &  rfv = resize_fill_value () 
) const [inherited]
template<class T>
Array< T > Array< T >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok,
const T &  rfv = resize_fill_value () 
) const [inherited]
template<class T>
Array< T > Array< T >::index ( const Array< idx_vector > &  ia,
bool  resize_ok,
const T &  rfv = resize_fill_value () 
) const [inherited]
template<class T >
Array< T > Array< T >::index ( const Array< idx_vector > &  ia  )  const [inherited]
template<class T>
Array< T > & Array< T >::insert ( const Array< T > &  a,
const Array< octave_idx_type > &  idx 
) [inherited]
template<class T>
Array< T > & Array< T >::insert ( const Array< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inherited]
template<class T>
Array<T> Array< T >::ipermute ( const Array< octave_idx_type > &  vec  )  const [inline, inherited]
template<class T>
bool Array< T >::is_empty ( void   )  const [inline, inherited]
template<class T>
bool MDiagArray2< T >::is_multiple_of_identity ( val  )  const
template<class T>
bool Array< T >::is_shared ( void   )  [inline, inherited]
template<class T >
sortmode Array< T >::is_sorted ( sortmode  mode = UNSORTED  )  const [inherited]
template<class T >
sortmode Array< T >::is_sorted_rows ( sortmode  mode = UNSORTED  )  const [inherited]
template<class T>
bool Array< T >::is_square ( void   )  const [inline, inherited]
template<class T>
bool Array< T >::is_vector ( void   )  const [inline, inherited]

Definition at line 430 of file Array.h.

Referenced by DEFUN_DLD().

template<class T>
octave_idx_type DiagArray2< T >::length ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 92 of file DiagArray2.h.

Referenced by FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix::all_elements_are_real(), DiagArray2< T >::array_value(), ComplexDiagMatrix::ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), FloatDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), octave_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), Matrix::Matrix(), operator*(), FloatMatrix::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexMatrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), FloatComplexMatrix::operator-=(), Matrix::operator-=(), ComplexMatrix::operator-=(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), SparseComplexMatrix::SparseComplexMatrix(), and SparseMatrix::SparseMatrix().

template<class T >
Array< T > Array< T >::linear_slice ( octave_idx_type  lo,
octave_idx_type  up 
) const [inherited]

Definition at line 283 of file Array.cc.

References gripe_index_out_of_range(), and Array< T >::numel().

Referenced by octave_value_list::slice().

template<class T>
Array< octave_idx_type > Array< T >::lookup ( const Array< T > &  values,
sortmode  mode = UNSORTED 
) const [inherited]
template<class T>
octave_idx_type Array< T >::lookup ( const T &  value,
sortmode  mode = UNSORTED 
) const [inherited]
template<class T>
void Array< T >::make_unique ( void   )  [inline, inherited]
template<class T>
template<class U >
Array<U> Array< T >::map ( U(&)(const T &)  fcn  )  const [inline, inherited]

Definition at line 609 of file Array.h.

template<class T>
template<class U , class F >
Array<U> Array< T >::map ( fcn  )  const [inline, inherited]
template<class T>
template<class U >
Array<U> Array< T >::map ( U(&)(T)  fcn  )  const [inline, inherited]

Definition at line 604 of file Array.h.

template<class T>
void Array< T >::maybe_economize ( void   )  [inline, inherited]

Definition at line 514 of file Array.h.

template<class T>
void* Array< T >::mex_get_data ( void   )  const [inline, inherited]

Definition at line 529 of file Array.h.

Referenced by octave_cell::mex_get_data().

template<class T>
int Array< T >::ndims ( void   )  const [inline, inherited]
template<class T>
octave_idx_type DiagArray2< T >::nelem ( void   )  const [inline, inherited]
template<class T>
octave_idx_type MDiagArray2< T >::nnz ( void   )  const [inline]

Reimplemented from Array< T >.

Definition at line 76 of file MDiagArray2.h.

template<class T >
Array< T > Array< T >::nth_element ( const idx_vector n,
int  dim = 0 
) const [inherited]
template<class T>
octave_idx_type DiagArray2< T >::numel ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 94 of file DiagArray2.h.

template<class T>
crefT Array< T >::operator() ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 401 of file Array.h.

template<class T>
crefT Array< T >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const [inline, inherited]

Definition at line 400 of file Array.h.

template<class T>
T DiagArray2< T >::operator() ( octave_idx_type  r,
octave_idx_type  c 
) const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 132 of file DiagArray2.h.

template<class T>
T& DiagArray2< T >::operator() ( octave_idx_type  r,
octave_idx_type  c 
) [inline, inherited]

Reimplemented from Array< T >.

Definition at line 147 of file DiagArray2.h.

template<class T>
T& Array< T >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) [inline, inherited]

Definition at line 374 of file Array.h.

template<class T>
T& Array< T >::operator() ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 375 of file Array.h.

template<class T>
crefT Array< T >::operator() ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 398 of file Array.h.

template<class T>
T& Array< T >::operator() ( octave_idx_type  n  )  [inline, inherited]

Definition at line 372 of file Array.h.

template<class T>
MDiagArray2<T>& MDiagArray2< T >::operator= ( const MDiagArray2< T > &  a  )  [inline]
template<class T >
bool Array< T >::optimize_dimensions ( const dim_vector dv  )  [inherited]

Definition at line 2656 of file Array.cc.

References Array< T >::dimensions.

template<class T >
Array< T > Array< T >::page ( octave_idx_type  k  )  const [inherited]

Definition at line 270 of file Array.cc.

References Array< T >::dimensions, gripe_index_out_of_range(), and dim_vector::numel().

template<class T>
octave_idx_type Array< T >::pages ( void   )  const [inline, inherited]

Definition at line 306 of file Array.h.

Referenced by Array3< T >::sort().

template<class T >
Array< T > Array< T >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const [inherited]
template<class T>
void DiagArray2< T >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 183 of file DiagArray2.h.

template<class T>
Array<T> Array< T >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const [inline, inherited]
template<class T>
Array<T> Array< T >::reshape ( const dim_vector new_dims  )  const [inline, inherited]
template<class T>
void DiagArray2< T >::resize ( octave_idx_type  n,
octave_idx_type  m,
const T &  rfv = Array<T>::resize_fill_value () 
) [inherited]
template<class T>
void Array< T >::resize ( const dim_vector dv,
const T &  rfv = resize_fill_value () 
) [inherited]
template<class T>
void Array< T >::resize ( octave_idx_type  n  )  [inline, inherited]

Definition at line 459 of file Array.h.

Referenced by printf_format_list::add_elt_to_list(), scanf_format_list::add_elt_to_list(), airy(), Octave_map::assign(), Array< T >::assign(), betainc(), biry(), Cell::column(), FloatMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_max(), ComplexMatrix::column_max(), FloatMatrix::column_min(), FloatComplexMatrix::column_min(), Matrix::column_min(), ComplexMatrix::column_min(), regexp::compile_internal(), DEFUN(), DEFUN_DLD(), Array< T >::diag(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), do_object2cell(), octave_value_typeinfo::do_register_type(), filter(), find_nonzero_elem_idx(), FloatMatrix::finverse(), FloatComplexMatrix::finverse(), Matrix::finverse(), ComplexMatrix::finverse(), FloatComplexLU::FloatComplexLU(), FloatLU::FloatLU(), FloatMatrix::fourier2d(), FloatComplexMatrix::fourier2d(), Matrix::fourier2d(), ComplexMatrix::fourier2d(), gammainc(), get_ra_idx(), MArray< T >::idx_add_nd(), FloatMatrix::ifourier2d(), FloatComplexMatrix::ifourier2d(), Matrix::ifourier2d(), ComplexMatrix::ifourier2d(), Array< T >::index(), FloatSVD::init(), FloatComplexSVD::init(), SVD::init(), ComplexSVD::init(), octave_value::int_vector_value(), DASRT::integrate(), intmap_to_ov(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::lssolve(), LU::LU(), make_subs_cell(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_value::octave_idx_type_vector_value(), octave_value_list::octave_value_list(), printf_format_list::printf_format_list(), octave_char_matrix_sq_str::resize(), octave_char_matrix_str::resize(), octave_range::resize(), Octave_map::resize(), octave_map::resize(), string_vector::resize(), FloatRowVector::resize(), FloatMatrix::resize(), FloatComplexRowVector::resize(), FloatColumnVector::resize(), FloatComplexMatrix::resize(), FloatComplexColumnVector::resize(), RowVector::resize(), Matrix::resize(), ColumnVector::resize(), ComplexRowVector::resize(), ComplexMatrix::resize(), charMatrix::resize(), ComplexColumnVector::resize(), boolMatrix::resize(), Array3< T >::resize(), FloatMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_max(), ComplexMatrix::row_max(), FloatMatrix::row_min(), FloatComplexMatrix::row_min(), Matrix::row_min(), ComplexMatrix::row_min(), scanf_format_list::scanf_format_list(), octave_base_scalar< bool >::sort(), Range::sort_internal(), SparseComplexLU::SparseComplexLU(), and SparseLU::SparseLU().

template<class T>
void Array< T >::resize1 ( octave_idx_type  n,
const T &  rfv = resize_fill_value () 
) [inherited]
template<class T >
const T & Array< T >::resize_fill_value ( void   )  [static, inherited]
template<class T>
octave_idx_type DiagArray2< T >::rows ( void   )  const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 86 of file DiagArray2.h.

Referenced by FloatDiagMatrix::abs(), FloatComplexDiagMatrix::abs(), DiagMatrix::abs(), ComplexDiagMatrix::abs(), FloatMatrix::append(), FloatComplexMatrix::append(), Matrix::append(), ComplexMatrix::append(), FloatDiagMatrix::column(), FloatComplexDiagMatrix::column(), DiagMatrix::column(), ComplexDiagMatrix::column(), conj(), FloatDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), DiagMatrix::determinant(), ComplexDiagMatrix::determinant(), DiagArray2< T >::diag(), octave_diag_matrix::do_index_op(), imag(), FloatMatrix::insert(), FloatComplexMatrix::insert(), Matrix::insert(), ComplexMatrix::insert(), FloatDiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), DiagMatrix::inverse(), ComplexDiagMatrix::inverse(), MDiagArray2< T >::is_multiple_of_identity(), kron(), octave_diag_matrix::map(), octave_float_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_print_internal(), operator*(), FloatMatrix::operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), ComplexDiagMatrix::operator+=(), FloatMatrix::operator-=(), Matrix::operator-=(), operator<<(), FloatDiagMatrix::operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::operator==(), ComplexDiagMatrix::operator==(), FloatDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), real(), FloatDiagMatrix::row(), FloatComplexDiagMatrix::row(), DiagMatrix::row(), ComplexDiagMatrix::row(), octave_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_float_complex_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), FloatMatrix::stack(), FloatComplexMatrix::stack(), Matrix::stack(), ComplexMatrix::stack(), and xpow().

template<class T >
Array< T > Array< T >::sort ( int  dim = 0,
sortmode  mode = ASCENDING 
) const [inherited]
template<class T >
Array< T > Array< T >::sort ( Array< octave_idx_type > &  sidx,
int  dim = 0,
sortmode  mode = ASCENDING 
) const [inherited]
template<class T >
Array< octave_idx_type > Array< T >::sort_rows_idx ( sortmode  mode = ASCENDING  )  const [inherited]
template<class T >
Array< T > Array< T >::squeeze ( void   )  const [inherited]
template<class T>
template<class F , bool zero>
bool Array< T >::test ( fcn  )  const [inline, inherited]

Definition at line 614 of file Array.h.

template<class T>
bool Array< T >::test_all ( bool(&)(T)  fcn  )  const [inline, inherited]

Definition at line 658 of file Array.h.

template<class T>
template<class F >
bool Array< T >::test_all ( fcn  )  const [inline, inherited]

Definition at line 648 of file Array.h.

template<class T>
bool Array< T >::test_all ( bool(&)(const T &)  fcn  )  const [inline, inherited]

Definition at line 661 of file Array.h.

template<class T>
bool Array< T >::test_any ( bool(&)(T)  fcn  )  const [inline, inherited]

Definition at line 652 of file Array.h.

template<class T>
template<class F >
bool Array< T >::test_any ( fcn  )  const [inline, inherited]

Definition at line 644 of file Array.h.

template<class T>
bool Array< T >::test_any ( bool(&)(const T &)  fcn  )  const [inline, inherited]

Definition at line 655 of file Array.h.

template<class T>
MDiagArray2<T> MDiagArray2< T >::transpose ( void   )  const [inline]
template<class T>
T DiagArray2< T >::xelem ( octave_idx_type  r,
octave_idx_type  c 
) const [inline, inherited]

Reimplemented from Array< T >.

Definition at line 158 of file DiagArray2.h.

template<class T>
T& Array< T >::xelem ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 338 of file Array.h.

Referenced by Array< octave_value >::xelem().

template<class T>
crefT Array< T >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const [inline, inherited]

Definition at line 335 of file Array.h.

Referenced by Array< octave_value >::xelem().

template<class T>
T& Array< T >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) [inline, inherited]

Definition at line 330 of file Array.h.

Referenced by Array< octave_value >::xelem().

template<class T>
crefT Array< T >::xelem ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 328 of file Array.h.

template<class T>
crefT Array< T >::xelem ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 341 of file Array.h.

Referenced by Array< octave_value >::xelem().

template<class T>
T& Array< T >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) [inline, inherited]

Definition at line 333 of file Array.h.

Referenced by Array< octave_value >::xelem().

template<class T>
T& Array< T >::xelem ( octave_idx_type  n  )  [inline, inherited]

Definition at line 327 of file Array.h.

Referenced by intNDArray< T >::abs(), SparseBoolMatrix::any(), DiagArray2< T >::array_value(), idx_vector::idx_mask_rep::as_array(), idx_vector::idx_range_rep::as_array(), octave_char_matrix_str::cellstr_value(), Cell::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), DEFUN(), DEFUN_DLD(), Cell::delete_elements(), DiagArray2< Complex >::dgxelem(), Array< T >::diag(), dmsolve_extract(), do_num2cell(), do_numeric_lookup(), do_object2cell(), Array< octave_value >::elem(), FloatRowVector::extract(), FloatColumnVector::extract(), RowVector::extract(), ColumnVector::extract(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), RowVector::extract_n(), ColumnVector::extract_n(), octave_fields::fieldnames(), find_nonzero_elem_idx(), FloatQR::form(), FloatComplexQR::form(), QR::form(), ComplexQR::form(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), base_lu< lu_type >::getp(), Array< T >::hermitian(), idx_vector::idx_vector_rep::idx_vector_rep(), FloatCHOL::init(), FloatComplexCHOL::init(), CHOL::init(), ComplexCHOL::init(), octave_value::int_vector_value(), idx_vector::inverse_permutation(), is_handle(), is_handle_visible(), kron(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), map_2_xlog2(), octave_value::octave_idx_type_vector_value(), octave_map::orderfields(), octave_scalar_map::orderfields(), SparseQR::SparseQR_rep::P(), SparseComplexQR::SparseComplexQR_rep::P(), base_lu< lu_type >::P_vec(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pc_vec(), SparseQR::SparseQR_rep::Pinv(), SparseComplexQR::SparseComplexQR_rep::Pinv(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pr_vec(), put_int(), qrsolve(), qs_search(), read_mat_binary_data(), row_norms(), intNDArray< T >::signum(), idx_vector::idx_mask_rep::sort_idx(), idx_vector::idx_range_rep::sort_idx(), SparseBoolMatrix::sum(), Array< T >::transpose(), idx_vector::idx_mask_rep::unconvert(), idx_vector::idx_vector_rep::unconvert(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), DiagArray2< Complex >::xelem(), and xgemm().


Member Data Documentation

template<class T>
octave_idx_type DiagArray2< T >::d1 [protected, inherited]
template<class T>
octave_idx_type DiagArray2< T >::d2 [protected, inherited]
template<class T>
dim_vector Array< T >::dimensions [protected, inherited]
template<class T>
Array<T>::ArrayRep* Array< T >::rep [protected, inherited]
template<class T>
T* Array< T >::slice_data [protected, inherited]
template<class T>
octave_idx_type Array< T >::slice_len [protected, inherited]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines