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 | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
ComplexDiagMatrix Class Reference

#include "CDiagMatrix.h"

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

Public Member Functions

 ComplexDiagMatrix (void)
 ComplexDiagMatrix (octave_idx_type r, octave_idx_type c)
 ComplexDiagMatrix (octave_idx_type r, octave_idx_type c, const Complex &val)
 ComplexDiagMatrix (const Array< Complex > &a)
 ComplexDiagMatrix (const Array< double > &a)
 ComplexDiagMatrix (const Array< Complex > &a, octave_idx_type r, octave_idx_type c)
 ComplexDiagMatrix (const DiagMatrix &a)
 ComplexDiagMatrix (const MDiagArray2< Complex > &a)
 ComplexDiagMatrix (const ComplexDiagMatrix &a)
template<class U >
 ComplexDiagMatrix (const DiagArray2< U > &a)
DiagMatrix abs (void) const
bool all_elements_are_real (void) const
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
ComplexColumnVector column (octave_idx_type i) const
ComplexColumnVector column (char *s) const
octave_idx_type columns (void) const
const T * data (void) const
ComplexDET determinant (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
Array< T > diag (octave_idx_type m, octave_idx_type n) 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)
ComplexMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
ComplexColumnVector extract_diag (octave_idx_type k=0) const
ComplexDiagMatrixfill (double val)
ComplexDiagMatrixfill (const Complex &val)
ComplexDiagMatrixfill (double val, octave_idx_type beg, octave_idx_type end)
ComplexDiagMatrixfill (const Complex &val, octave_idx_type beg, octave_idx_type end)
ComplexDiagMatrixfill (const ColumnVector &a)
ComplexDiagMatrixfill (const ComplexColumnVector &a)
ComplexDiagMatrixfill (const RowVector &a)
ComplexDiagMatrixfill (const ComplexRowVector &a)
ComplexDiagMatrixfill (const ColumnVector &a, octave_idx_type beg)
ComplexDiagMatrixfill (const ComplexColumnVector &a, octave_idx_type beg)
ComplexDiagMatrixfill (const RowVector &a, octave_idx_type beg)
ComplexDiagMatrixfill (const ComplexRowVector &a, octave_idx_type beg)
void fill (const T &val)
const T * fortran_vec (void) const
T * fortran_vec (void)
ComplexDiagMatrix hermitian (void) const
MDiagArray2< T > hermitian (T(*fcn)(const T &)=0) const
ComplexDiagMatrix inverse (octave_idx_type &info) const
ComplexDiagMatrix inverse (void) 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
bool operator!= (const ComplexDiagMatrix &a) const
operator() (octave_idx_type r, octave_idx_type c) const
T & operator() (octave_idx_type r, octave_idx_type c)
ComplexDiagMatrixoperator+= (const DiagMatrix &a)
ComplexDiagMatrixoperator-= (const DiagMatrix &a)
ComplexDiagMatrixoperator= (const ComplexDiagMatrix &a)
bool operator== (const ComplexDiagMatrix &a) const
void print_info (std::ostream &os, const std::string &prefix) const
ComplexDiagMatrix pseudo_inverse (void) const
double rcond (void) const
void resize (octave_idx_type n, octave_idx_type m, const T &rfv)
void resize (octave_idx_type n, octave_idx_type m)
ComplexRowVector row (octave_idx_type i) const
ComplexRowVector row (char *s) const
octave_idx_type rows (void) const
ComplexDiagMatrix 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)
void assign (const idx_vector &i, const Array< T > &rhs)
void assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv)
void assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs)
void assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv)
void assign (const Array< idx_vector > &ia, const Array< T > &rhs)
octave_idx_type capacity (void) const
T & checkelem (octave_idx_type n)
T & checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
T & checkelem (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)
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
T & elem (octave_idx_type n)
T & elem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
T & elem (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
template<>
Array< octave_idx_typefind (octave_idx_type, bool) const
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) const
Array< T > index (const idx_vector &i, bool resize_ok) const
Array< T > index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv) const
Array< T > index (const idx_vector &i, const idx_vector &j, bool resize_ok) const
Array< T > index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv) const
Array< T > index (const Array< idx_vector > &ia, bool resize_ok) 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)
template<>
sortmode is_sorted (sortmode) const
sortmode is_sorted (sortmode mode=UNSORTED) const
template<>
sortmode is_sorted_rows (sortmode) 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)
T * jit_slice_data (void) const
Array< T > linear_slice (octave_idx_type lo, octave_idx_type up) const
template<>
Array< octave_idx_typelookup (const Array< idx_vector > &, sortmode) const
template<>
octave_idx_type lookup (idx_vector const &, sortmode) 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)
voidmex_get_data (void) const
int ndims (void) const
template<>
Array< idx_vectornth_element (const idx_vector &, int) const
Array< T > nth_element (const idx_vector &n, int dim=0) 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)
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< 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 (octave_idx_type nr, octave_idx_type nc) const
Array< T > reshape (const dim_vector &new_dims) const
void resize (octave_idx_type n) GCC_ATTR_DEPRECATED
void resize (const dim_vector &dv, const T &rfv)
void resize (const dim_vector &dv)
void resize1 (octave_idx_type n, const T &rfv)
void resize1 (octave_idx_type n)
virtual T resize_fill_value (void) const
template<>
Array< idx_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
template<>
Array< idx_vectorsort (int, sortmode) const
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
template<>
Array< octave_idx_typesort_rows_idx (sortmode) 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
template<class F >
bool test_all (F fcn) const
bool test_all (bool(&fcn)(T)) const
bool test_all (bool(&fcn)(const T &)) const
template<class F >
bool test_any (F fcn) const
bool test_any (bool(&fcn)(T)) const
bool test_any (bool(&fcn)(const T &)) const
T & xelem (octave_idx_type n)
crefT xelem (octave_idx_type n) const
T & xelem (octave_idx_type i, octave_idx_type j)
T & xelem (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
T & xelem (const Array< octave_idx_type > &ra_idx)
crefT xelem (const Array< octave_idx_type > &ra_idx) const

Static Protected Member Functions

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

Protected Attributes

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

Friends

OCTAVE_API ComplexDiagMatrix conj (const ComplexDiagMatrix &a)
std::ostream & operator<< (std::ostream &os, const ComplexDiagMatrix &a)

Detailed Description

Definition at line 36 of file CDiagMatrix.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 128 of file Array.h.

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

Definition at line 126 of file Array.h.

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

Definition at line 124 of file Array.h.

Constructor & Destructor Documentation

ComplexDiagMatrix::ComplexDiagMatrix ( void  )
inline

Definition at line 42 of file CDiagMatrix.h.

Referenced by inverse().

ComplexDiagMatrix::ComplexDiagMatrix ( octave_idx_type  r,
octave_idx_type  c 
)
inline

Definition at line 44 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( octave_idx_type  r,
octave_idx_type  c,
const Complex val 
)
inline

Definition at line 47 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( const Array< Complex > &  a)
inlineexplicit

Definition at line 50 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( const Array< double > &  a)
inlineexplicit

Definition at line 53 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( const Array< Complex > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inline

Definition at line 56 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( const DiagMatrix a)
explicit

Definition at line 40 of file CDiagMatrix.cc.

References DiagArray2< T >::elem(), and DiagArray2< T >::length().

ComplexDiagMatrix::ComplexDiagMatrix ( const MDiagArray2< Complex > &  a)
inline

Definition at line 62 of file CDiagMatrix.h.

ComplexDiagMatrix::ComplexDiagMatrix ( const ComplexDiagMatrix a)
inline

Definition at line 65 of file CDiagMatrix.h.

template<class U >
ComplexDiagMatrix::ComplexDiagMatrix ( const DiagArray2< U > &  a)
inline

Definition at line 69 of file CDiagMatrix.h.

Member Function Documentation

DiagMatrix ComplexDiagMatrix::abs ( void  ) const
bool ComplexDiagMatrix::all_elements_are_real ( void  ) const
template<class T>
MArray<T> MDiagArray2< T >::array_value ( void  ) const
inlineinherited

Reimplemented from DiagArray2< T >.

Definition at line 72 of file MDiagArray2.h.

template<class T>
Array<T> Array< T >::as_column ( void  ) const
inlineinherited

Definition at line 283 of file Array.h.

template<class T>
Array<T> Array< T >::as_matrix ( void  ) const
inlineinherited

Definition at line 303 of file Array.h.

template<class T>
Array<T> Array< T >::as_row ( void  ) const
inlineinherited

Definition at line 293 of file Array.h.

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

Definition at line 534 of file Array.h.

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

Definition at line 541 of file Array.h.

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

Definition at line 547 of file Array.h.

template<class T>
DiagArray2<T> DiagArray2< T >::build_diag_matrix ( ) const
inlineinherited

Definition at line 102 of file DiagArray2.h.

template<class T>
size_t DiagArray2< T >::byte_size ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 96 of file DiagArray2.h.

template<class T>
octave_idx_type Array< T >::capacity ( void  ) const
inlineinherited
template<class T>
Array< T > Array< T >::cat ( int  dim,
octave_idx_type  n,
const Array< T > *  array_list 
)
staticinherited
template<class T>
T DiagArray2< T >::checkelem ( octave_idx_type  r,
octave_idx_type  c 
) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 127 of file DiagArray2.h.

template<class T>
T& DiagArray2< T >::checkelem ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Reimplemented from Array< T >.

Definition at line 141 of file DiagArray2.h.

template<class T >
T & Array< T >::checkelem ( octave_idx_type  n)
inherited
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 compute_index(), and elem.

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

Definition at line 216 of file Array.cc.

References compute_index(), and elem.

template<class T >
Array< T >::crefT Array< T >::checkelem ( octave_idx_type  n) const
inherited

Definition at line 223 of file Array.cc.

References elem, gripe_index_out_of_range(), and gripe_invalid_index().

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 compute_index(), and elem.

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

Definition at line 251 of file Array.cc.

References compute_index(), and elem.

template<class T>
void Array< T >::chop_trailing_singletons ( void  )
inlineinherited

Definition at line 325 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 
)
inlineinherited

Definition at line 270 of file Array.h.

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

template<class T>
octave_idx_type DiagArray2< T >::cols ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 87 of file DiagArray2.h.

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

ComplexColumnVector ComplexDiagMatrix::column ( octave_idx_type  i) const
ComplexColumnVector ComplexDiagMatrix::column ( char s) const
template<class T>
octave_idx_type DiagArray2< T >::columns ( void  ) const
inlineinherited
template<class T >
octave_idx_type Array< T >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Definition at line 167 of file Array.cc.

References 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 174 of file Array.cc.

References compute_index().

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 compute_index().

template<class T>
octave_idx_type Array< T >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 333 of file Array.h.

template<class T>
const T* DiagArray2< T >::data ( void  ) const
inlineinherited
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

Definition at line 1464 of file Array.cc.

References jit_convention::length, and Array< T >::length().

ComplexDET ComplexDiagMatrix::determinant ( void  ) const
template<class T>
T DiagArray2< T >::dgelem ( octave_idx_type  i) const
inlineinherited

Definition at line 121 of file DiagArray2.h.

Referenced by kron(), operator*(), and xpow().

template<class T>
T& DiagArray2< T >::dgelem ( octave_idx_type  i)
inlineinherited

Definition at line 124 of file DiagArray2.h.

template<class T>
T& DiagArray2< T >::dgxelem ( octave_idx_type  i)
inlineinherited

Definition at line 163 of file DiagArray2.h.

Referenced by operator*().

template<class T>
T DiagArray2< T >::dgxelem ( octave_idx_type  i) const
inlineinherited

Definition at line 166 of file DiagArray2.h.

template<class T>
MArray<T> MDiagArray2< T >::diag ( octave_idx_type  k = 0) const
inlineinherited

Reimplemented from DiagArray2< T >.

Definition at line 94 of file MDiagArray2.h.

Referenced by octave_print_internal().

template<class T >
Array< T > Array< T >::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
inherited
template<class T>
octave_idx_type DiagArray2< T >::diag_length ( void  ) const
inlineinherited

Definition at line 90 of file DiagArray2.h.

Referenced by kron().

template<class T>
octave_idx_type DiagArray2< T >::dim1 ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 83 of file DiagArray2.h.

template<class T>
octave_idx_type DiagArray2< T >::dim2 ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 84 of file DiagArray2.h.

template<class T>
octave_idx_type Array< T >::dim3 ( void  ) const
inlineinherited

Definition at line 280 of file Array.h.

Referenced by ft_render::process_character(), and ft_render::render().

template<class T>
dim_vector DiagArray2< T >::dims ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 98 of file DiagArray2.h.

template<class T>
T DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
) const
inlineinherited
template<class T>
T& DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Reimplemented from Array< T >.

Definition at line 115 of file DiagArray2.h.

template<class T>
T& Array< T >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 366 of file Array.h.

Referenced by atan2(), AEPBALANCE::balancing_matrix(), FloatAEPBALANCE::balancing_matrix(), ComplexAEPBALANCE::balancing_matrix(), FloatComplexAEPBALANCE::balancing_matrix(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_matrix::char_array_value(), octave_range::char_array_value(), DiagMatrix::column(), FloatDiagMatrix::column(), column(), FloatComplexDiagMatrix::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), charNDArray::concat(), FloatNDArray::concat(), NDArray::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(), dmsolve_extract(), LSODE::do_integrate(), DiagArray2< Complex >::elem(), Array< octave_value >::elem(), DiagMatrix::extract(), charMatrix::extract(), ComplexRowVector::extract(), FloatDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), extract(), FloatComplexDiagMatrix::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), F__go_delete__(), Fhex2num(), FloatDiagMatrix::fill(), DiagMatrix::fill(), fill(), FloatComplexDiagMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Fnum2hex(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseComplexMatrix::fsolve(), get_elt_idx(), octave_rand::get_internal_state(), Givens(), HESS::init(), FloatHESS::init(), ComplexHESS::init(), FloatComplexHESS::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), EIG::init(), FloatEIG::init(), RowVector::insert(), FloatRowVector::insert(), ColumnVector::insert(), FloatColumnVector::insert(), ComplexRowVector::insert(), ComplexColumnVector::insert(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexNDArray::insert(), octave_value::int_vector_value(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_cell::load_binary(), octave_cell::load_hdf5(), octave_bool_matrix::load_hdf5(), lsode_f(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::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(), Matrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), read_mat_ascii_data(), DiagMatrix::row(), FloatDiagMatrix::row(), row(), FloatComplexDiagMatrix::row(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), graphics_object::set(), octave_rand::set_internal_state(), Sparse< T >::Sparse(), try_cellfun_internal_ops(), and x_el_div().

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

Definition at line 374 of file Array.h.

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

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

Definition at line 377 of file Array.h.

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

Definition at line 403 of file Array.h.

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

Definition at line 408 of file Array.h.

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

Definition at line 411 of file Array.h.

ComplexMatrix ComplexDiagMatrix::extract ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
) const

Definition at line 252 of file CDiagMatrix.cc.

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

ComplexColumnVector ComplexDiagMatrix::extract_diag ( octave_idx_type  k = 0) const
inline
ComplexDiagMatrix & ComplexDiagMatrix::fill ( double  val)

Definition at line 63 of file CDiagMatrix.cc.

References DiagArray2< T >::elem(), and DiagArray2< T >::length().

ComplexDiagMatrix & ComplexDiagMatrix::fill ( const Complex val)

Definition at line 71 of file CDiagMatrix.cc.

References DiagArray2< T >::elem(), and DiagArray2< T >::length().

ComplexDiagMatrix & ComplexDiagMatrix::fill ( double  val,
octave_idx_type  beg,
octave_idx_type  end 
)

Definition at line 79 of file CDiagMatrix.cc.

References DiagArray2< T >::elem(), and DiagArray2< T >::length().

ComplexDiagMatrix & ComplexDiagMatrix::fill ( const Complex val,
octave_idx_type  beg,
octave_idx_type  end 
)

Definition at line 94 of file CDiagMatrix.cc.

References DiagArray2< T >::elem(), and DiagArray2< T >::length().

ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ColumnVector a)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ComplexColumnVector a)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const RowVector a)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ComplexRowVector a)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ColumnVector a,
octave_idx_type  beg 
)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ComplexColumnVector a,
octave_idx_type  beg 
)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const RowVector a,
octave_idx_type  beg 
)
ComplexDiagMatrix & ComplexDiagMatrix::fill ( const ComplexRowVector a,
octave_idx_type  beg 
)
template<class T>
void Array< T >::fill ( const T &  val)
inherited
template<>
Array< octave_idx_type > Array< idx_vector >::find ( octave_idx_type  ,
bool   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

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
inlineinherited
template<class T>
T* DiagArray2< T >::fortran_vec ( void  )
inlineinherited

Reimplemented from Array< T >.

Definition at line 184 of file DiagArray2.h.

ComplexDiagMatrix ComplexDiagMatrix::hermitian ( void  ) const
inline

Definition at line 96 of file CDiagMatrix.h.

References conj(), and MDiagArray2< T >::hermitian().

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

Reimplemented from DiagArray2< T >.

Definition at line 98 of file MDiagArray2.h.

Referenced by hermitian(), and FloatComplexDiagMatrix::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 Array< idx_vector > &  ia) const
inherited
template<class T>
Array< T > Array< T >::index ( const idx_vector i,
bool  resize_ok,
const T &  rfv 
) const
inherited
template<class T>
Array<T> Array< T >::index ( const idx_vector i,
bool  resize_ok 
) const
inlineinherited

Definition at line 511 of file Array.h.

template<class T>
Array< T > Array< T >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok,
const T &  rfv 
) const
inherited
template<class T>
Array<T> Array< T >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok 
) const
inlineinherited

Definition at line 518 of file Array.h.

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

Definition at line 526 of file Array.h.

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
ComplexDiagMatrix ComplexDiagMatrix::inverse ( octave_idx_type info) const
ComplexDiagMatrix ComplexDiagMatrix::inverse ( void  ) const

Definition at line 351 of file CDiagMatrix.cc.

template<class T>
Array<T> Array< T >::ipermute ( const Array< octave_idx_type > &  vec) const
inlineinherited
template<class T>
bool Array< T >::is_empty ( void  ) const
inlineinherited
template<class T>
bool MDiagArray2< T >::is_multiple_of_identity ( val) const
inherited
template<class T>
bool Array< T >::is_shared ( void  )
inlineinherited
template<>
sortmode Array< idx_vector >::is_sorted ( sortmode  ) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

template<class T >
sortmode Array< T >::is_sorted ( sortmode  mode = UNSORTED) const
inherited
template<>
sortmode Array< idx_vector >::is_sorted_rows ( sortmode  ) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

template<class T >
sortmode Array< T >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited
template<class T>
bool Array< T >::is_square ( void  ) const
inlineinherited
template<class T>
bool Array< T >::is_vector ( void  ) const
inlineinherited

Definition at line 460 of file Array.h.

Referenced by Ffilter().

template<class T>
void* Array< T >::jit_array_rep ( void  ) const
inlineinherited

Definition at line 718 of file Array.h.

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

Definition at line 716 of file Array.h.

template<class T>
int* Array< T >::jit_ref_count ( void  )
inlineinherited

Definition at line 712 of file Array.h.

Referenced by octave_jit_paren_subsasgn_matrix_range().

template<class T>
T* Array< T >::jit_slice_data ( void  ) const
inlineinherited

Definition at line 714 of file Array.h.

Referenced by octave_jit_paren_subsasgn_matrix_range().

template<class T>
octave_idx_type DiagArray2< T >::length ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 92 of file DiagArray2.h.

Referenced by all_elements_are_real(), FloatComplexDiagMatrix::all_elements_are_real(), ComplexDiagMatrix(), ComplexMatrix::ComplexMatrix(), DiagMatrix::determinant(), FloatDiagMatrix::determinant(), determinant(), FloatComplexDiagMatrix::determinant(), FloatDiagMatrix::fill(), DiagMatrix::fill(), fill(), FloatComplexDiagMatrix::fill(), FloatComplexDiagMatrix::FloatComplexDiagMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), FloatComplexMatrix::insert(), DiagMatrix::inverse(), FloatDiagMatrix::inverse(), inverse(), FloatComplexDiagMatrix::inverse(), octave_float_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_diag_matrix::load_binary(), Matrix::Matrix(), operator*(), operator+=(), FloatComplexDiagMatrix::operator+=(), Matrix::operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator+=(), FloatComplexMatrix::operator+=(), Matrix::operator-=(), FloatMatrix::operator-=(), ComplexMatrix::operator-=(), FloatComplexMatrix::operator-=(), DiagMatrix::operator==(), FloatDiagMatrix::operator==(), operator==(), FloatComplexDiagMatrix::operator==(), DiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), octave_float_complex_diag_matrix::save_binary(), octave_float_diag_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), octave_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 284 of file Array.cc.

References gripe_index_out_of_range().

Referenced by octave_value_list::slice().

template<>
octave_idx_type Array< idx_vector >::lookup ( idx_vector const &  ,
sortmode   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

template<>
Array< octave_idx_type > Array< idx_vector >::lookup ( const Array< idx_vector > &  ,
sortmode   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

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

Definition at line 666 of file Array.h.

template<class T>
template<class U >
Array<U> Array< T >::map ( U(&)(const T &)  fcn) const
inlineinherited

Definition at line 671 of file Array.h.

template<class T>
void Array< T >::maybe_economize ( void  )
inlineinherited

Definition at line 572 of file Array.h.

template<class T>
void* Array< T >::mex_get_data ( void  ) const
inlineinherited

Definition at line 587 of file Array.h.

Referenced by octave_cell::mex_get_data().

template<class T>
int Array< T >::ndims ( void  ) const
inlineinherited
template<class T>
octave_idx_type DiagArray2< T >::nelem ( void  ) const
inlineinherited
template<class T>
octave_idx_type MDiagArray2< T >::nnz ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 77 of file MDiagArray2.h.

template<>
Array< idx_vector > Array< idx_vector >::nth_element ( const idx_vector ,
int   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

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
inlineinherited

Reimplemented from Array< T >.

Definition at line 94 of file DiagArray2.h.

Definition at line 57 of file CDiagMatrix.cc.

template<class T>
T DiagArray2< T >::operator() ( octave_idx_type  r,
octave_idx_type  c 
) const
inlineinherited

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 
)
inlineinherited

Reimplemented from Array< T >.

Definition at line 147 of file DiagArray2.h.

template<class T>
T& Array< T >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 389 of file Array.h.

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

Definition at line 391 of file Array.h.

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

Definition at line 393 of file Array.h.

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

Definition at line 424 of file Array.h.

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

Definition at line 427 of file Array.h.

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

Definition at line 430 of file Array.h.

ComplexDiagMatrix & ComplexDiagMatrix::operator+= ( const DiagMatrix a)
ComplexDiagMatrix& ComplexDiagMatrix::operator-= ( const DiagMatrix a)
ComplexDiagMatrix& ComplexDiagMatrix::operator= ( const ComplexDiagMatrix a)
inline

Definition at line 72 of file CDiagMatrix.h.

References MDiagArray2< T >::operator=().

bool ComplexDiagMatrix::operator== ( const ComplexDiagMatrix a) const
template<class T >
bool Array< T >::optimize_dimensions ( const dim_vector dv)
inherited

Definition at line 2719 of file Array.cc.

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

Definition at line 271 of file Array.cc.

References gripe_index_out_of_range().

template<class T>
octave_idx_type Array< T >::pages ( void  ) const
inlineinherited

Definition at line 315 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
inlineinherited

Reimplemented from Array< T >.

Definition at line 186 of file DiagArray2.h.

ComplexDiagMatrix ComplexDiagMatrix::pseudo_inverse ( void  ) const
double ComplexDiagMatrix::rcond ( void  ) const

Definition at line 549 of file CDiagMatrix.cc.

References abs(), extract_diag(), Array< T >::map(), ColumnVector::max(), and ColumnVector::min().

Referenced by Fdet(), and Finv().

template<class T>
Array<T> Array< T >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const
inlineinherited
template<class T>
Array<T> Array< T >::reshape ( const dim_vector new_dims) const
inlineinherited
template<class T>
void DiagArray2< T >::resize ( octave_idx_type  n,
octave_idx_type  m,
const T &  rfv 
)
inherited

Reimplemented from Array< T >.

Definition at line 94 of file DiagArray2.cc.

References min(), and Array< T >::resize().

Referenced by FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), and SVD::init().

template<class T>
void DiagArray2< T >::resize ( octave_idx_type  n,
octave_idx_type  m 
)
inlineinherited

Reimplemented from Array< T >.

Definition at line 170 of file DiagArray2.h.

template<class T>
void Array< T >::resize ( octave_idx_type  n)
inlineinherited

Definition at line 490 of file Array.h.

Referenced by scanf_format_list::add_elt_to_list(), printf_format_list::add_elt_to_list(), jit_operation::add_overload(), airy(), Octave_map::assign(), betainc(), betaincinv(), biry(), bitopxx(), Cell::column(), Matrix::column_max(), FloatMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), Matrix::column_min(), FloatMatrix::column_min(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), regexp::compile_internal(), ComplexLU::ComplexLU(), DEFUN_DLD(), Array< T >::diag(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), do_object2cell(), octave_value_typeinfo::do_register_type(), F__get__(), Fbsxfun(), Ffilter(), Fget(), filter(), find_nonzero_elem_idx(), Matrix::finverse(), FloatMatrix::finverse(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), FloatComplexLU::FloatComplexLU(), FloatLU::FloatLU(), Frandperm(), Fwarning(), gammainc(), get_ra_idx(), MArray< T >::idx_add_nd(), Array< T >::index(), FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), SVD::init(), octave_value::int_vector_value(), DASRT::integrate(), intmap_to_ov(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), Matrix::lssolve(), FloatMatrix::lssolve(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), LU::LU(), make_indices(), make_subs_cell(), SparseMatrix::max(), SparseComplexMatrix::max(), SparseMatrix::min(), SparseComplexMatrix::min(), octave_base64_decode(), octave_value::octave_idx_type_vector_value(), octave_value_list::octave_value_list(), printf_format_list::printf_format_list(), Array3< T >::resize(), boolMatrix::resize(), charMatrix::resize(), string_vector::resize(), RowVector::resize(), FloatRowVector::resize(), octave_char_matrix_str::resize(), ColumnVector::resize(), FloatColumnVector::resize(), octave_range::resize(), ComplexRowVector::resize(), FloatComplexRowVector::resize(), Matrix::resize(), FloatMatrix::resize(), ComplexColumnVector::resize(), FloatComplexColumnVector::resize(), ComplexMatrix::resize(), DiagArray2< T >::resize(), FloatComplexMatrix::resize(), octave_char_matrix_sq_str::resize(), octave_map::resize(), Octave_map::resize(), Matrix::row_max(), FloatMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), Matrix::row_min(), FloatMatrix::row_min(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), scanf_format_list::scanf_format_list(), DASRT_options::set_relative_tolerance(), DASSL_options::set_relative_tolerance(), DASPK_options::set_relative_tolerance(), octave_base_scalar< bool >::sort(), Range::sort_internal(), SparseComplexLU::SparseComplexLU(), and SparseLU::SparseLU().

template<class T>
void Array< T >::resize ( const dim_vector dv,
const T &  rfv 
)
inherited
template<class T>
void Array< T >::resize ( const dim_vector dv)
inlineinherited

Definition at line 504 of file Array.h.

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

template<class T>
void Array< T >::resize1 ( octave_idx_type  n,
const T &  rfv 
)
inherited
template<class T>
void Array< T >::resize1 ( octave_idx_type  n)
inlineinherited

Definition at line 488 of file Array.h.

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

template<class T >
T Array< T >::resize_fill_value ( void  ) const
virtualinherited

Reimplemented in Cell.

Definition at line 889 of file Array.cc.

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

ComplexRowVector ComplexDiagMatrix::row ( octave_idx_type  i) const
ComplexRowVector ComplexDiagMatrix::row ( char s) const
template<class T>
octave_idx_type DiagArray2< T >::rows ( void  ) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 86 of file DiagArray2.h.

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

template<>
Array< idx_vector > Array< idx_vector >::sort ( int  ,
sortmode   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

template<>
Array< idx_vector > Array< idx_vector >::sort ( Array< octave_idx_type > &  sidx,
int  ,
sortmode   
) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

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<>
Array< octave_idx_type > Array< idx_vector >::sort_rows_idx ( sortmode  ) const
inherited

Definition at line 34 of file Array-idx-vec.cc.

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 ( F  fcn) const
inlineinherited

Definition at line 676 of file Array.h.

Referenced by crati(), cunhj(), cunik(), zrati(), zunhj(), and zunik().

template<class T>
template<class F >
bool Array< T >::test_all ( F  fcn) const
inlineinherited

Definition at line 687 of file Array.h.

template<class T>
bool Array< T >::test_all ( bool(&)(T)  fcn) const
inlineinherited

Definition at line 697 of file Array.h.

template<class T>
bool Array< T >::test_all ( bool(&)(const T &)  fcn) const
inlineinherited

Definition at line 700 of file Array.h.

template<class T>
template<class F >
bool Array< T >::test_any ( F  fcn) const
inlineinherited

Definition at line 683 of file Array.h.

template<class T>
bool Array< T >::test_any ( bool(&)(T)  fcn) const
inlineinherited

Definition at line 691 of file Array.h.

template<class T>
bool Array< T >::test_any ( bool(&)(const T &)  fcn) const
inlineinherited

Definition at line 694 of file Array.h.

ComplexDiagMatrix ComplexDiagMatrix::transpose ( void  ) const
inline

Reimplemented from MDiagArray2< T >.

Definition at line 98 of file CDiagMatrix.h.

References MDiagArray2< T >::transpose().

template<class T>
T DiagArray2< T >::xelem ( octave_idx_type  r,
octave_idx_type  c 
) const
inlineinherited

Reimplemented from Array< T >.

Definition at line 158 of file DiagArray2.h.

template<class T>
T& Array< T >::xelem ( octave_idx_type  n)
inlineinherited

Definition at line 339 of file Array.h.

Referenced by intNDArray< T >::abs(), SparseBoolMatrix::any(), DiagArray2< T >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), DEFUN_DLD(), Cell::delete_elements(), DiagArray2< Complex >::dgxelem(), Array< T >::diag(), dmsolve_extract(), children_property::do_init_children(), do_num2cell(), do_numeric_lookup(), do_object2cell(), children_property::do_set(), Array< octave_value >::elem(), elem_xpow(), RowVector::extract(), ColumnVector::extract(), FloatRowVector::extract(), FloatColumnVector::extract(), RowVector::extract_n(), ColumnVector::extract_n(), FloatRowVector::extract_n(), FloatColumnVector::extract_n(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), Fcomplex(), octave_fields::fieldnames(), find_nonzero_elem_idx(), Flookup(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), base_lu< lu_type >::getp(), Array< T >::hermitian(), idx_vector::idx_vector_rep::idx_vector_rep(), CHOL::init(), FloatCHOL::init(), ComplexCHOL::init(), FloatComplexCHOL::init(), octave_value::int_vector_value(), idx_vector::inverse_permutation(), is_handle(), is_handle_visible(), kron(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), LuAminusSigmaB(), map_2_xlog2(), octave_value::octave_idx_type_vector_value(), octave_jit_paren_scalar(), octave_jit_paren_scalar_subsasgn(), octave_jit_paren_subsasgn_matrix_range(), octave_scalar_map::orderfields(), octave_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(), SparseComplexQR::SparseComplexQR_rep::Pinv(), SparseQR::SparseQR_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_range_rep::sort_idx(), idx_vector::idx_mask_rep::sort_idx(), SparseBoolMatrix::sum(), Array< T >::transpose(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), DiagArray2< Complex >::xelem(), and xgemm().

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

Definition at line 340 of file Array.h.

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

Definition at line 342 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 
)
inlineinherited

Definition at line 347 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
inlineinherited

Definition at line 349 of file Array.h.

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

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

Definition at line 352 of file Array.h.

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

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

Definition at line 355 of file Array.h.

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

Friends And Related Function Documentation

OCTAVE_API ComplexDiagMatrix conj ( const ComplexDiagMatrix a)
friend

Definition at line 244 of file CDiagMatrix.cc.

std::ostream& operator<< ( std::ostream &  os,
const ComplexDiagMatrix a 
)
friend

Definition at line 559 of file CDiagMatrix.cc.

Member Data Documentation

template<class T>
octave_idx_type DiagArray2< T >::d1
protectedinherited

Definition at line 42 of file DiagArray2.h.

Referenced by operator*(), operator-(), and DiagArray2< Complex >::operator=().

template<class T>
octave_idx_type DiagArray2< T >::d2
protectedinherited

Definition at line 42 of file DiagArray2.h.

Referenced by operator*(), operator-(), and DiagArray2< Complex >::operator=().

template<class T>
dim_vector Array< T >::dimensions
protectedinherited
template<class T>
Array<T>::ArrayRep* Array< T >::rep
protectedinherited
template<class T>
T* Array< T >::slice_data
protectedinherited
template<class T>
octave_idx_type Array< T >::slice_len
protectedinherited

Definition at line 145 of file Array.h.

Referenced by Array< octave_value >::operator=().


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