GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "fCDiagMatrix.h"
Protected Types | |
typedef bool(* | compare_fcn_type )(typename ref_param< FloatComplex >::type, typename ref_param< FloatComplex >::type) |
typedef ref_param < FloatComplex >::type | crefT |
typedef FloatComplex | element_type |
Protected Member Functions | |
Array< FloatComplex > | as_column (void) const |
Return the array as a column vector. More... | |
Array< FloatComplex > | as_matrix (void) const |
Return the array as a matrix. More... | |
Array< FloatComplex > | as_row (void) const |
Return the array as a row vector. More... | |
FloatComplex & | checkelem (octave_idx_type n) |
FloatComplex & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
FloatComplex & | 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 |
FloatComplex & | elem (octave_idx_type n) |
FloatComplex & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
FloatComplex & | 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 n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
Array< FloatComplex > & | insert (const Array< FloatComplex > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
Array< FloatComplex > & | insert (const Array< FloatComplex > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
Array< FloatComplex > | ipermute (const Array< octave_idx_type > &vec) const |
bool | is_empty (void) const |
bool | is_shared (void) |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
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 |
Array< FloatComplex > | 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 (const FloatComplex &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
Array< octave_idx_type > | lookup (const Array< FloatComplex > &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... | |
int | ndims (void) const |
Array< FloatComplex > | 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... | |
FloatComplex & | operator() (octave_idx_type n) |
FloatComplex & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
FloatComplex & | 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< FloatComplex > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
Array< FloatComplex > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
Array< FloatComplex > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Array< FloatComplex > | reshape (const dim_vector &new_dims) const |
virtual FloatComplex | resize_fill_value (void) const |
Array< FloatComplex > | sort (int dim=0, sortmode mode=ASCENDING) const |
Array< FloatComplex > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
Array< FloatComplex > | squeeze (void) const |
Chop off leading singleton dimensions. More... | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
FloatComplex & | xelem (octave_idx_type n) |
crefT | xelem (octave_idx_type n) const |
FloatComplex & | xelem (octave_idx_type i, octave_idx_type j) |
FloatComplex & | 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 |
FloatComplex & | 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 FloatComplex &rfv) |
void | resize (const dim_vector &dv) |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
void | resize1 (octave_idx_type n, const FloatComplex &rfv) |
void | resize1 (octave_idx_type n) |
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< FloatComplex > | index (const idx_vector &i) const |
Indexing without resizing. More... | |
Array< FloatComplex > | index (const idx_vector &i, const idx_vector &j) const |
Array< FloatComplex > | index (const Array< idx_vector > &ia) const |
Array< FloatComplex > | index (const idx_vector &i, bool resize_ok, const FloatComplex &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< FloatComplex > | index (const idx_vector &i, bool resize_ok) const |
Array< FloatComplex > | index (const idx_vector &i, const idx_vector &j, bool resize_ok, const FloatComplex &rfv) const |
Array< FloatComplex > | index (const idx_vector &i, const idx_vector &j, bool resize_ok) const |
Array< FloatComplex > | index (const Array< idx_vector > &ia, bool resize_ok, const FloatComplex &rfv) const |
Array< FloatComplex > | index (const Array< idx_vector > &ia, bool resize_ok) const |
void | assign (const idx_vector &i, const Array< FloatComplex > &rhs, const FloatComplex &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const idx_vector &i, const Array< FloatComplex > &rhs) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< FloatComplex > &rhs, const FloatComplex &rfv) |
void | assign (const idx_vector &i, const idx_vector &j, const Array< FloatComplex > &rhs) |
void | assign (const Array< idx_vector > &ia, const Array< FloatComplex > &rhs, const FloatComplex &rfv) |
void | assign (const Array< idx_vector > &ia, const Array< FloatComplex > &rhs) |
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)(FloatComplex)) const |
Overloads for function references. More... | |
Array< U > | map (U(&fcn)(const FloatComplex &)) const |
bool | test_any (F fcn) const |
Simpler calls. More... | |
bool | test_all (F fcn) const |
bool | test_any (bool(&fcn)(FloatComplex)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const FloatComplex &)) const |
bool | test_all (bool(&fcn)(FloatComplex)) const |
bool | test_all (bool(&fcn)(const FloatComplex &)) const |
int * | jit_ref_count (void) |
WARNING: Only call these functions from jit. More... | |
FloatComplex * | jit_slice_data (void) const |
octave_idx_type * | jit_dimensions (void) const |
void * | jit_array_rep (void) const |
Static Protected Member Functions | |
static Array< FloatComplex > | cat (int dim, octave_idx_type n, const Array< FloatComplex > *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< FloatComplex >::ArrayRep * | rep |
FloatComplex * | slice_data |
octave_idx_type | slice_len |
Friends | |
OCTAVE_API FloatComplexDiagMatrix | conj (const FloatComplexDiagMatrix &a) |
std::ostream & | operator<< (std::ostream &os, const FloatComplexDiagMatrix &a) |
Definition at line 36 of file fCDiagMatrix.h.
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 42 of file fCDiagMatrix.h.
Referenced by inverse().
|
inline |
Definition at line 44 of file fCDiagMatrix.h.
|
inline |
Definition at line 48 of file fCDiagMatrix.h.
|
inlineexplicit |
Definition at line 52 of file fCDiagMatrix.h.
|
inline |
Definition at line 55 of file fCDiagMatrix.h.
Definition at line 59 of file fCDiagMatrix.h.
|
explicit |
Definition at line 40 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), DiagArray2< T >::elem(), and DiagArray2< FloatComplex >::length().
|
inline |
Definition at line 64 of file fCDiagMatrix.h.
|
inline |
Definition at line 67 of file fCDiagMatrix.h.
|
inline |
Definition at line 71 of file fCDiagMatrix.h.
FloatDiagMatrix FloatComplexDiagMatrix::abs | ( | void | ) | const |
Definition at line 241 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::columns(), extract_diag(), and DiagArray2< FloatComplex >::rows().
Referenced by octave_float_complex_diag_matrix::map().
bool FloatComplexDiagMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 411 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::data(), DiagArray2< FloatComplex >::length(), and mx_inline_all_real().
Referenced by octave_float_complex_diag_matrix::try_narrowing_conversion().
|
inlineinherited |
Definition at line 72 of file MDiagArray2.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Indexed assignment (always with resize & fill).
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 102 of file DiagArray2.h.
|
inlineinherited |
Definition at line 96 of file DiagArray2.h.
|
inlineinherited |
|
staticinherited |
Concatenation along a specified (0-based) dimension, equivalent to cat().
dim = -1 corresponds to dim = 0 and dim = -2 corresponds to dim = 1, but apply the looser matching rules of vertcat/horzcat.
|
inlineinherited |
Definition at line 127 of file DiagArray2.h.
|
inlineinherited |
Definition at line 141 of file DiagArray2.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 87 of file DiagArray2.h.
Referenced by column(), determinant(), inverse(), operator+=(), operator==(), pseudo_inverse(), and row().
FloatComplexColumnVector FloatComplexDiagMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 316 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< FloatComplex >::elem(), Array< T >::elem(), FloatComplexRowVector::FloatComplexColumnVector, and DiagArray2< FloatComplex >::rows().
Referenced by column().
FloatComplexColumnVector FloatComplexDiagMatrix::column | ( | char * | s | ) | const |
Definition at line 334 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), column(), and FloatComplexRowVector::FloatComplexColumnVector.
|
inlineinherited |
Definition at line 88 of file DiagArray2.h.
Referenced by abs().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 180 of file DiagArray2.h.
Referenced by all_elements_are_real(), and operator==().
|
inherited |
Deleting elements.
A(I) = [] (with a single subscript)
|
inherited |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)
|
inherited |
Dispatcher to the above two.
FloatComplexDET FloatComplexDiagMatrix::determinant | ( | void | ) | const |
Definition at line 536 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< FloatComplex >::elem(), f, DiagArray2< FloatComplex >::length(), and DiagArray2< FloatComplex >::rows().
Referenced by Fdet().
|
inlineinherited |
Definition at line 121 of file DiagArray2.h.
|
inlineinherited |
Definition at line 124 of file DiagArray2.h.
|
inlineinherited |
Definition at line 163 of file DiagArray2.h.
|
inlineinherited |
Definition at line 166 of file DiagArray2.h.
|
inlineinherited |
Definition at line 94 of file MDiagArray2.h.
|
inherited |
|
inlineinherited |
Definition at line 90 of file DiagArray2.h.
|
inlineinherited |
Definition at line 83 of file DiagArray2.h.
|
inlineinherited |
Definition at line 84 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 98 of file DiagArray2.h.
|
inlineinherited |
Definition at line 110 of file DiagArray2.h.
Referenced by column(), determinant(), extract(), fill(), FloatComplexDiagMatrix(), inverse(), pseudo_inverse(), and row().
|
inlineinherited |
Definition at line 115 of file DiagArray2.h.
|
inlineinherited |
Definition at line 380 of file Array.h.
Referenced by FloatComplexNDArray::all_integers(), FloatComplexMatrix::column_is_real_only(), FloatComplexMatrix::column_max(), FloatComplexMatrix::column_min(), FloatComplexMatrix::determinant(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexMatrix::is_hermitian(), FloatComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::min(), FloatComplexColumnVector::min(), FloatComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), FloatComplexMatrix::row_is_real_only(), FloatComplexMatrix::row_max(), and FloatComplexMatrix::row_min().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexMatrix FloatComplexDiagMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 256 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), and Array< T >::elem().
|
inline |
Definition at line 136 of file fCDiagMatrix.h.
References DiagArray2< T >::extract_diag().
Referenced by abs(), conj(), imag(), octave_float_complex_diag_matrix::map(), rcond(), real(), and octave_float_complex_diag_matrix::save_binary().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | float | val | ) |
Definition at line 63 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), and DiagArray2< FloatComplex >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplex & | val | ) |
Definition at line 71 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), and DiagArray2< FloatComplex >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | float | val, |
octave_idx_type | beg, | ||
octave_idx_type | end | ||
) |
Definition at line 79 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), and DiagArray2< FloatComplex >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplex & | val, |
octave_idx_type | beg, | ||
octave_idx_type | end | ||
) |
Definition at line 95 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), and DiagArray2< FloatComplex >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatColumnVector & | a | ) |
Definition at line 111 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplexColumnVector & | a | ) |
Definition at line 127 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatRowVector & | a | ) |
Definition at line 143 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplexRowVector & | a | ) |
Definition at line 159 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatColumnVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 175 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplexColumnVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 191 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatRowVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 208 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
FloatComplexDiagMatrix & FloatComplexDiagMatrix::fill | ( | const FloatComplexRowVector & | a, |
octave_idx_type | beg | ||
) |
Definition at line 224 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::elem(), Array< T >::elem(), DiagArray2< FloatComplex >::length(), and Array< T >::length().
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
|
inlineinherited |
Definition at line 182 of file DiagArray2.h.
Referenced by operator+=().
|
inlineinherited |
Definition at line 184 of file DiagArray2.h.
|
inlineinherited |
Definition at line 98 of file MDiagArray2.h.
|
inline |
Definition at line 101 of file fCDiagMatrix.h.
References conj(), and MDiagArray2< T >::hermitian().
|
inherited |
Indexing without resizing.
Referenced by FloatComplexMatrix::column(), FloatComplexMatrix::extract(), FloatComplexMatrix::extract_n(), and FloatComplexMatrix::row().
|
inherited |
|
inherited |
|
inherited |
Indexing with possible resizing and fill.
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Insert an array into another at a specified position.
If size (a) is [d1 d2 ... dN] and idx is [i1 i2 ... iN], this method is equivalent to x(i1:i1+d1-1, i2:i2+d2-1, ... , iN:iN+dN-1) = a.
|
inherited |
This is just a special case for idx = [r c 0 ...].
FloatComplexDiagMatrix FloatComplexDiagMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 362 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< FloatComplex >::elem(), DiagArray2< T >::elem(), FloatComplexDiagMatrix(), DiagArray2< FloatComplex >::length(), and DiagArray2< FloatComplex >::rows().
Referenced by Finv().
FloatComplexDiagMatrix FloatComplexDiagMatrix::inverse | ( | void | ) | const |
Definition at line 355 of file fCDiagMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Ordering is auto-detected or can be specified.
|
inherited |
Ordering is auto-detected or can be specified.
|
inlineinherited |
Definition at line 470 of file Array.h.
Referenced by FloatComplexMatrix::is_hermitian().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 92 of file DiagArray2.h.
Referenced by all_elements_are_real(), determinant(), fill(), FloatComplexDiagMatrix(), inverse(), operator+=(), operator==(), and pseudo_inverse().
|
inherited |
Extract a slice from this array as a column vector: A(:)(lo+1:up).
Must be 0 <= lo && up <= numel. May be up < lo.
|
inherited |
Do a binary lookup in a sorted array.
Must not contain NaNs. Mode can be specified or is auto-detected by comparing 1st and last element.
|
inherited |
Ditto, but for an array of values, specializing on the case when values are sorted.
NaNs get the value N.
|
inlineinherited |
Definition at line 104 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexColumnVector::insert(), FloatComplexRowVector::insert(), and FloatComplexMatrix::insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 93 of file DiagArray2.h.
|
inlineinherited |
Definition at line 77 of file MDiagArray2.h.
|
inherited |
Returns the n-th element in increasing order, using the same ordering as used for sort.
n can either be a scalar index or a contiguous range.
|
inlineinherited |
Definition at line 94 of file DiagArray2.h.
bool FloatComplexDiagMatrix::operator!= | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 57 of file fCDiagMatrix.cc.
|
inlineinherited |
Definition at line 132 of file DiagArray2.h.
|
inlineinherited |
Definition at line 147 of file DiagArray2.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexDiagMatrix & FloatComplexDiagMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 419 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< T >::cols(), d, DiagArray2< T >::data(), DiagArray2< FloatComplex >::fortran_vec(), gripe_nonconformant(), DiagArray2< FloatComplex >::length(), mx_inline_add2(), DiagArray2< T >::rows(), and DiagArray2< FloatComplex >::rows().
FloatComplexDiagMatrix& FloatComplexDiagMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
|
inline |
Definition at line 74 of file fCDiagMatrix.h.
References MDiagArray2< T >::operator=().
bool FloatComplexDiagMatrix::operator== | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 48 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::data(), DiagArray2< FloatComplex >::data(), DiagArray2< FloatComplex >::length(), mx_inline_equal(), DiagArray2< FloatComplex >::rows(), and DiagArray2< T >::rows().
|
inherited |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv.
This is useful for maintaining several arrays with supposedly equal dimensions (e.g. structs in the interpreter).
|
inherited |
Extract page: A(:,:,k+1).
|
inlineinherited |
|
inherited |
|
inlineinherited |
Definition at line 186 of file DiagArray2.h.
FloatComplexDiagMatrix FloatComplexDiagMatrix::pseudo_inverse | ( | float | tol = 0.0f | ) | const |
Definition at line 390 of file fCDiagMatrix.cc.
References abs(), DiagArray2< FloatComplex >::cols(), DiagArray2< FloatComplex >::elem(), DiagArray2< T >::elem(), f, DiagArray2< FloatComplex >::length(), and DiagArray2< FloatComplex >::rows().
Referenced by Fpinv().
float FloatComplexDiagMatrix::rcond | ( | void | ) | const |
Definition at line 555 of file fCDiagMatrix.cc.
References abs(), extract_diag(), Array< T >::map(), FloatColumnVector::max(), and FloatColumnVector::min().
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Definition at line 170 of file DiagArray2.h.
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Resizing (with fill).
|
inlineinherited |
|
virtualinherited |
FloatComplexRowVector FloatComplexDiagMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 277 of file fCDiagMatrix.cc.
References DiagArray2< FloatComplex >::cols(), DiagArray2< FloatComplex >::elem(), Array< T >::elem(), FloatComplexRowVector::FloatComplexRowVector(), and DiagArray2< FloatComplex >::rows().
Referenced by row().
FloatComplexRowVector FloatComplexDiagMatrix::row | ( | char * | s | ) | const |
Definition at line 295 of file fCDiagMatrix.cc.
References FloatComplexRowVector::FloatComplexRowVector(), row(), and DiagArray2< FloatComplex >::rows().
|
inlineinherited |
Definition at line 86 of file DiagArray2.h.
Referenced by abs(), column(), determinant(), inverse(), operator+=(), operator==(), pseudo_inverse(), and row().
|
inherited |
Referenced by FloatSCHUR::init().
|
inherited |
|
inherited |
Sort by rows returns only indices.
|
inherited |
Chop off leading singleton dimensions.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 103 of file fCDiagMatrix.h.
References MDiagArray2< T >::transpose().
|
inlineinherited |
Definition at line 158 of file DiagArray2.h.
|
inlineinherited |
Definition at line 353 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), and FloatComplexMatrix::insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 247 of file fCDiagMatrix.cc.
|
friend |
Definition at line 566 of file fCDiagMatrix.cc.
|
protectedinherited |
Definition at line 42 of file DiagArray2.h.
|
protectedinherited |
Definition at line 42 of file DiagArray2.h.
|
protectedinherited |
Definition at line 127 of file Array.h.
Referenced by FloatComplexNDArray::insert().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |