#include "CDiagMatrix.h"
Public Types | |
typedef Complex | complex_elt_type |
typedef Complex | element_type |
typedef ComplexMatrix | full_matrix_type |
typedef double | real_elt_type |
Protected Types | |
typedef bool(* | compare_fcn_type) (typename ref_param< Complex >::type, typename ref_param< Complex >::type) |
typedef ref_param< Complex >::type | crefT |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef Complex | value_type |
Protected Member Functions | |
Array< Complex > | as_column (void) const |
Return the array as a column vector. More... | |
Array< Complex > | as_matrix (void) const |
Return the array as a matrix. More... | |
Array< Complex > | as_row (void) const |
Return the array as a row vector. More... | |
Complex & | checkelem (octave_idx_type n) |
Complex & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Complex & | 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 | 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 |
Complex & | elem (octave_idx_type n) |
Complex & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Complex & | 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 |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
Array< Complex > & | insert (const Array< Complex > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
Array< Complex > & | insert (const Array< Complex > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
Array< Complex > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_nd_vector (void) const |
bool | is_shared (void) |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
sortmode | is_sorted_rows (sortmode) const |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
bool | is_square (void) const |
bool | is_vector (void) const |
sortmode | issorted (sortmode) const |
sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
bool | issquare (void) const |
bool | isvector (void) const |
Array< Complex > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
Extract a slice from this array as a column vector: A(:)(lo+1:up). More... | |
octave_idx_type | lookup (idx_vector const &, sortmode) const |
Array< octave_idx_type > | lookup (const Array< idx_vector > &, sortmode) const |
octave_idx_type | lookup (const Complex &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
Array< octave_idx_type > | lookup (const Array< Complex > &values, sortmode mode=UNSORTED) const |
Ditto, but for an array of values, specializing on the case when values are sorted. More... | |
void | make_unique (void) |
Array< U > | map (F fcn) const |
Apply function fcn to each element of the Array<T>. More... | |
void | maybe_economize (void) |
void * | mex_get_data (void) const |
Give a pointer to the data in mex format. More... | |
Array< idx_vector > | nth_element (const idx_vector &, int) const |
Array< Complex > | nth_element (const idx_vector &n, int dim=0) const |
Returns the n-th element in increasing order, using the same ordering as used for sort. More... | |
Complex & | operator() (octave_idx_type n) |
Complex & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Complex & | 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) |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv. More... | |
Array< Complex > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
Array< Complex > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
Array< Complex > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Array< Complex > | reshape (const dim_vector &new_dims) const |
virtual Complex | resize_fill_value (void) const |
size_type | size (const size_type d) const |
Size of the specified dimension. More... | |
Array< idx_vector > | sort (int, sortmode) const |
Array< idx_vector > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
Array< Complex > | sort (int dim=0, sortmode mode=ASCENDING) const |
Array< Complex > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
Array< Complex > | squeeze (void) const |
Chop off leading singleton dimensions. More... | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
Complex & | xelem (octave_idx_type n) |
crefT | xelem (octave_idx_type n) const |
Complex & | xelem (octave_idx_type i, octave_idx_type j) |
Complex & | 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 |
Complex & | xelem (const Array< octave_idx_type > &ra_idx) |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
void | resize (const dim_vector &dv, const Complex &rfv) |
Resizing (with fill). More... | |
void | resize (const dim_vector &dv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const Complex &rfv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
Resizing (with fill). More... | |
void | resize1 (octave_idx_type n, const Complex &rfv) |
Resizing (with fill). More... | |
void | resize1 (octave_idx_type n) |
Resizing (with fill). More... | |
octave_idx_type | capacity (void) const |
Number of elements in the array. More... | |
Third dimension | |
Get the third dimension of the array (number of pages) | |
octave_idx_type | dim3 (void) const |
octave_idx_type | pages (void) const |
Array< Complex > | index (const idx_vector &i) const |
Indexing without resizing. More... | |
Array< Complex > | index (const idx_vector &i, const idx_vector &j) const |
Indexing without resizing. More... | |
Array< Complex > | index (const Array< idx_vector > &ia) const |
Indexing without resizing. More... | |
Array< Complex > | index (const idx_vector &i, bool resize_ok, const Complex &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< Complex > | index (const idx_vector &i, bool resize_ok) const |
Indexing with possible resizing and fill. More... | |
Array< Complex > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const Complex &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< Complex > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Indexing with possible resizing and fill. More... | |
Array< Complex > | index (const Array< idx_vector > &ia, bool resize_ok, const Complex &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< Complex > | index (const Array< idx_vector > &ia, bool resize_ok) const |
Indexing with possible resizing and fill. More... | |
void | assign (const idx_vector &i, const Array< Complex > &rhs, const Complex &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const Array< Complex > &rhs) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< Complex > &rhs, const Complex &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const idx_vector &j, const Array< Complex > &rhs) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const Array< idx_vector > &ia, const Array< Complex > &rhs, const Complex &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const Array< idx_vector > &ia, const Array< Complex > &rhs) |
Indexed assignment (always with resize & fill). More... | |
void | delete_elements (const idx_vector &i) |
Deleting elements. More... | |
void | delete_elements (int dim, const idx_vector &i) |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More... | |
void | delete_elements (const Array< idx_vector > &ia) |
Dispatcher to the above two. More... | |
Array< U > | map (U(&fcn)(Complex)) const |
Overloads for function references. More... | |
Array< U > | map (U(&fcn)(const Complex &)) const |
Overloads for function references. More... | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
bool | test_all (F fcn) const |
Simpler calls. More... | |
bool | test_any (bool(&fcn)(Complex)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const Complex &)) const |
Overloads for function references. More... | |
bool | test_all (bool(&fcn)(Complex)) const |
Overloads for function references. More... | |
bool | test_all (bool(&fcn)(const Complex &)) const |
Overloads for function references. More... | |
int * | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
Complex * | jit_slice_data (void) const |
WARNING: Only call these functions from jit. More... | |
octave_idx_type * | jit_dimensions (void) const |
WARNING: Only call these functions from jit. More... | |
void * | jit_array_rep (void) const |
WARNING: Only call these functions from jit. More... | |
Static Protected Member Functions | |
static Array< Complex > | cat (int dim, octave_idx_type n, const Array< Complex > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
Protected Attributes | |
octave_idx_type | d1 |
octave_idx_type | d2 |
dim_vector | dimensions |
Array< Complex >::ArrayRep * | rep |
Complex * | slice_data |
octave_idx_type | slice_len |
Friends | |
OCTAVE_API ComplexDiagMatrix | conj (const ComplexDiagMatrix &a) |
std::ostream & | operator<< (std::ostream &os, const ComplexDiagMatrix &a) |
Definition at line 36 of file CDiagMatrix.h.
Definition at line 45 of file CDiagMatrix.h.
Definition at line 46 of file CDiagMatrix.h.
Definition at line 42 of file CDiagMatrix.h.
Definition at line 44 of file CDiagMatrix.h.
|
inherited |
|
inline |
Definition at line 48 of file CDiagMatrix.h.
|
inline |
Definition at line 50 of file CDiagMatrix.h.
|
inline |
Definition at line 53 of file CDiagMatrix.h.
Definition at line 56 of file CDiagMatrix.h.
Definition at line 59 of file CDiagMatrix.h.
|
inline |
Definition at line 62 of file CDiagMatrix.h.
|
explicit |
Definition at line 39 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
|
inline |
Definition at line 68 of file CDiagMatrix.h.
|
inline |
Definition at line 71 of file CDiagMatrix.h.
|
inline |
Definition at line 75 of file CDiagMatrix.h.
DiagMatrix ComplexDiagMatrix::abs | ( | void | ) | const |
Definition at line 207 of file CDiagMatrix.cc.
References DiagArray2< Complex >::columns(), extract_diag(), and DiagArray2< Complex >::rows().
Referenced by octave_complex_diag_matrix::map().
bool ComplexDiagMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 355 of file CDiagMatrix.cc.
References DiagArray2< Complex >::data(), DiagArray2< Complex >::length(), and mx_inline_all_real().
Referenced by octave_complex_diag_matrix::try_narrowing_conversion().
|
inlineinherited |
Definition at line 83 of file MDiagArray2.h.
References DiagArray2< T >::array_value().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 107 of file DiagArray2.h.
References Sparse< bool >::array_value().
|
inlineinherited |
Definition at line 97 of file DiagArray2.h.
References Array< T >::byte_size().
|
inlineinherited |
|
inlineinherited |
Definition at line 128 of file DiagArray2.h.
|
inherited |
Definition at line 93 of file DiagArray2.cc.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 88 of file DiagArray2.h.
References Sparse< bool >::dim2().
Referenced by column(), determinant(), inverse(), operator+=(), operator==(), pseudo_inverse(), and row().
ComplexColumnVector ComplexDiagMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 272 of file CDiagMatrix.cc.
References c, DiagArray2< Complex >::cols(), DiagArray2< Complex >::elem(), i, retval, and DiagArray2< Complex >::rows().
Referenced by column().
ComplexColumnVector ComplexDiagMatrix::column | ( | char * | s | ) | const |
Definition at line 287 of file CDiagMatrix.cc.
References c, DiagArray2< Complex >::cols(), column(), current_liboctave_error_handler, and s.
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 167 of file DiagArray2.h.
References Array< T >::data().
Referenced by all_elements_are_real(), and operator==().
|
inherited |
|
inherited |
|
inherited |
ComplexDET ComplexDiagMatrix::determinant | ( | void | ) | const |
Definition at line 471 of file CDiagMatrix.cc.
References DiagArray2< Complex >::cols(), DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), and DiagArray2< Complex >::rows().
Referenced by Fdet().
|
inlineinherited |
Definition at line 122 of file DiagArray2.h.
References Array< T >::elem(), and i.
|
inlineinherited |
Definition at line 125 of file DiagArray2.h.
References Array< T >::elem(), and i.
|
inlineinherited |
Definition at line 150 of file DiagArray2.h.
References i, and Array< T >::xelem().
|
inlineinherited |
Definition at line 153 of file DiagArray2.h.
References i, and Array< T >::xelem().
|
inlineinherited |
Definition at line 100 of file MDiagArray2.h.
References DiagArray2< T >::extract_diag(), and k.
|
inherited |
|
inlineinherited |
Definition at line 91 of file DiagArray2.h.
References Array< T >::numel().
|
inlineinherited |
Definition at line 84 of file DiagArray2.h.
|
inlineinherited |
Definition at line 85 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 99 of file DiagArray2.h.
|
inlineinherited |
Definition at line 115 of file DiagArray2.h.
References c, and Array< T >::elem().
Referenced by column(), ComplexDiagMatrix(), determinant(), extract(), fill(), inverse(), pseudo_inverse(), and row().
|
inherited |
Definition at line 85 of file DiagArray2.cc.
References c, Array< T >::elem(), and zero().
|
inlineinherited |
Definition at line 488 of file Array.h.
Referenced by ComplexNDArray::all_integers(), ComplexMatrix::column_is_real_only(), ComplexMatrix::column_max(), ComplexMatrix::column_min(), ComplexMatrix::ComplexMatrix(), ComplexMatrix::determinant(), ComplexRowVector::extract(), ComplexColumnVector::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), ComplexNDArray::insert(), ComplexMatrix::insert(), ComplexMatrix::ishermitian(), ComplexRowVector::max(), ComplexColumnVector::max(), ComplexRowVector::min(), ComplexColumnVector::min(), ComplexMatrix::operator+=(), ComplexMatrix::operator-=(), ComplexMatrix::row_is_real_only(), ComplexMatrix::row_max(), and ComplexMatrix::row_min().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix ComplexDiagMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 221 of file CDiagMatrix.cc.
References DiagArray2< Complex >::elem(), i, result, and swap.
|
inline |
Definition at line 136 of file CDiagMatrix.h.
References DiagArray2< T >::extract_diag(), and k.
Referenced by abs(), octave_complex_diag_matrix::map(), rcond(), and octave_complex_diag_matrix::save_binary().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | double | val | ) |
Definition at line 62 of file CDiagMatrix.cc.
References DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), and val.
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const Complex & | val | ) |
Definition at line 70 of file CDiagMatrix.cc.
References DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), and val.
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | double | val, |
octave_idx_type | beg, | ||
octave_idx_type | end | ||
) |
Definition at line 78 of file CDiagMatrix.cc.
References DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), and val.
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const Complex & | val, |
octave_idx_type | beg, | ||
octave_idx_type | end | ||
) |
Definition at line 90 of file CDiagMatrix.cc.
References DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), and val.
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ColumnVector & | a | ) |
Definition at line 103 of file CDiagMatrix.cc.
References a, current_liboctave_error_handler, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ComplexColumnVector & | a | ) |
Definition at line 116 of file CDiagMatrix.cc.
References a, current_liboctave_error_handler, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const RowVector & | a | ) |
Definition at line 129 of file CDiagMatrix.cc.
References a, current_liboctave_error_handler, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ComplexRowVector & | a | ) |
Definition at line 142 of file CDiagMatrix.cc.
References a, current_liboctave_error_handler, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ColumnVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 155 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ComplexColumnVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 168 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const RowVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 181 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
ComplexDiagMatrix & ComplexDiagMatrix::fill | ( | const ComplexRowVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 194 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::elem(), i, and DiagArray2< Complex >::length().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
Definition at line 169 of file DiagArray2.h.
References Array< T >::fortran_vec().
Referenced by operator+=().
|
inlineinherited |
Definition at line 171 of file DiagArray2.h.
References Array< T >::fortran_vec().
|
inline |
Definition at line 102 of file CDiagMatrix.h.
References conj(), and MDiagArray2< T >::hermitian().
Referenced by oct_unop_hermitian().
|
inlineinherited |
Definition at line 104 of file MDiagArray2.h.
References fcn, and DiagArray2< T >::hermitian().
|
inherited |
Indexing without resizing.
Definition at line 697 of file Array.cc.
Referenced by ComplexMatrix::column(), ComplexMatrix::extract(), ComplexMatrix::extract_n(), and ComplexMatrix::row().
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
ComplexDiagMatrix ComplexDiagMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 309 of file CDiagMatrix.cc.
References c, DiagArray2< Complex >::cols(), DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), retval, and DiagArray2< Complex >::rows().
Referenced by Finv().
ComplexDiagMatrix ComplexDiagMatrix::inverse | ( | void | ) | const |
Definition at line 302 of file CDiagMatrix.cc.
|
inherited |
Definition at line 34 of file MDiagArray2.cc.
References Sparse< Complex >::cols(), i, octave::jit_convention::length, retval, Sparse< Complex >::rows(), and val.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 101 of file DiagArray2.h.
References numel().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
Definition at line 559 of file Array.h.
Referenced by ComplexMatrix::ishermitian().
|
inlineinherited |
|
inlineinherited |
Definition at line 93 of file DiagArray2.h.
References Array< T >::numel().
Referenced by all_elements_are_real(), ComplexDiagMatrix(), determinant(), fill(), inverse(), operator+=(), operator==(), and pseudo_inverse().
|
inherited |
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
Definition at line 187 of file Array.h.
Referenced by ComplexRowVector::fill(), ComplexColumnVector::fill(), ComplexMatrix::fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), and ComplexMatrix::insert().
|
inlineinherited |
Definition at line 103 of file DiagArray2.h.
|
inlineinherited |
Definition at line 94 of file DiagArray2.h.
References Sparse< bool >::dim1(), and Sparse< bool >::dim2().
|
inlineinherited |
Definition at line 88 of file MDiagArray2.h.
References d, DiagArray2< T >::data(), elem, octave::jit_convention::length, and zero().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
Definition at line 95 of file DiagArray2.h.
References Sparse< bool >::nelem().
bool ComplexDiagMatrix::operator!= | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 56 of file CDiagMatrix.cc.
References a.
|
inlineinherited |
Definition at line 131 of file DiagArray2.h.
|
inlineinherited |
Definition at line 138 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexDiagMatrix & ComplexDiagMatrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 363 of file CDiagMatrix.cc.
References a, a_nc, a_nr, c, DiagArray2< Complex >::cols(), d, octave::err_nonconformant(), DiagArray2< Complex >::fortran_vec(), DiagArray2< Complex >::length(), mx_inline_add2(), and DiagArray2< Complex >::rows().
ComplexDiagMatrix& ComplexDiagMatrix::operator-= | ( | const DiagMatrix & | a | ) |
|
inline |
Definition at line 78 of file CDiagMatrix.h.
References a, and MDiagArray2< T >::operator=().
bool ComplexDiagMatrix::operator== | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 47 of file CDiagMatrix.cc.
References a, DiagArray2< Complex >::cols(), DiagArray2< Complex >::data(), DiagArray2< Complex >::length(), mx_inline_equal(), and DiagArray2< Complex >::rows().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 173 of file DiagArray2.h.
References os, and Array< T >::print_info().
ComplexDiagMatrix ComplexDiagMatrix::pseudo_inverse | ( | double | tol = 0.0 | ) | const |
Definition at line 334 of file CDiagMatrix.cc.
References abs(), c, DiagArray2< Complex >::cols(), DiagArray2< Complex >::elem(), i, DiagArray2< Complex >::length(), retval, DiagArray2< Complex >::rows(), and val.
double ComplexDiagMatrix::rcond | ( | void | ) | const |
Definition at line 485 of file CDiagMatrix.cc.
References abs(), extract_diag(), Array< T >::map(), ColumnVector::max(), and ColumnVector::min().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 101 of file DiagArray2.cc.
References c, Sparse< bool >::dim1(), Sparse< bool >::dim2(), min(), and Array< T >::resize().
|
inlineinherited |
Definition at line 157 of file DiagArray2.h.
References Sparse< bool >::resize().
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
ComplexRowVector ComplexDiagMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 242 of file CDiagMatrix.cc.
References c, DiagArray2< Complex >::cols(), DiagArray2< Complex >::elem(), i, retval, and DiagArray2< Complex >::rows().
Referenced by row().
ComplexRowVector ComplexDiagMatrix::row | ( | char * | s | ) | const |
Definition at line 257 of file CDiagMatrix.cc.
References c, current_liboctave_error_handler, row(), DiagArray2< Complex >::rows(), and s.
|
inlineinherited |
Definition at line 87 of file DiagArray2.h.
References Sparse< bool >::dim1().
Referenced by abs(), column(), determinant(), inverse(), operator+=(), operator==(), pseudo_inverse(), and row().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
Simpler calls.
Definition at line 815 of file Array.h.
Referenced by ComplexNDArray::too_large_for_float().
|
inline |
Definition at line 104 of file CDiagMatrix.h.
References MDiagArray2< T >::transpose().
Referenced by oct_unop_transpose().
|
inlineinherited |
Definition at line 145 of file DiagArray2.h.
References c, and Array< T >::xelem().
|
inlineinherited |
Definition at line 458 of file Array.h.
Referenced by ComplexMatrix::ComplexMatrix(), ComplexNDArray::ComplexNDArray(), ComplexRowVector::fill(), ComplexColumnVector::fill(), ComplexMatrix::fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), and ComplexMatrix::insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 213 of file CDiagMatrix.cc.
|
friend |
Definition at line 496 of file CDiagMatrix.cc.
|
protectedinherited |
Definition at line 43 of file DiagArray2.h.
|
protectedinherited |
Definition at line 43 of file DiagArray2.h.
|
protectedinherited |
Definition at line 216 of file Array.h.
Referenced by ComplexNDArray::compute_index(), ComplexNDArray::increment_index(), and ComplexNDArray::insert().
|
protectedinherited |