#include "CMatrix.h"
Public Types | |
typedef ComplexColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type) (typename ref_param< Complex >::type, typename ref_param< Complex >::type) |
typedef ComplexDiagMatrix | complex_diag_matrix_type |
typedef Complex | complex_elt_type |
typedef ComplexMatrix | complex_matrix_type |
typedef ref_param< Complex >::type | crefT |
typedef Complex | element_type |
typedef ColumnVector | real_column_vector_type |
typedef DiagMatrix | real_diag_matrix_type |
typedef double | real_elt_type |
typedef Matrix | real_matrix_type |
typedef RowVector | real_row_vector_type |
typedef ComplexRowVector | row_vector_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef void(* | solve_singularity_handler) (double rcon) |
typedef Complex | value_type |
Static Public Member Functions | |
static OCTAVE_API octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static OCTAVE_API void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
Protected Attributes | |
dim_vector | m_dimensions |
Array< Complex, Alloc >::ArrayRep * | m_rep |
Complex * | m_slice_data |
octave_idx_type | m_slice_len |
Static Private Member Functions | |
static OCTARRAY_API void | instantiation_guard () |
static OCTARRAY_API Array< Complex, Alloc >::ArrayRep * | nil_rep (void) |
Friends | |
OCTAVE_API ComplexMatrix | conj (const ComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const ComplexMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, ComplexMatrix &a) |
Third dimension | |
Get the third dimension of the array (number of pages) | |
OCTARRAY_API Array< Complex, Alloc > & | insert (const Array< Complex, Alloc > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
OCTARRAY_API Array< Complex, Alloc > & | insert (const Array< Complex, Alloc > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
OCTARRAY_API octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
OCTARRAY_API octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
OCTARRAY_API octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Array< Complex, Alloc > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Size of the specified dimension. More... | |
octave_idx_type | dim3 (void) const |
Size of the specified dimension. More... | |
octave_idx_type | pages (void) const |
Size of the specified dimension. More... | |
size_type | size (const size_type d) const |
Size of the specified dimension. More... | |
std::size_t | byte_size (void) const |
Size of the specified dimension. More... | |
const dim_vector & | dims (void) const |
Return a const-reference so that dims ()(i) works efficiently. More... | |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Complex & | xelem (octave_idx_type n) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
Complex & | xelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
Complex & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
Complex & | xelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
OCTARRAY_API Complex & | checkelem (octave_idx_type n) |
Size of the specified dimension. More... | |
OCTARRAY_API Complex & | checkelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
OCTARRAY_API Complex & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
OCTARRAY_API Complex & | checkelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
OCTARRAY_API crefT | checkelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
OCTARRAY_API crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
OCTARRAY_API crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
OCTARRAY_API crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Complex & | elem (octave_idx_type n) |
Size of the specified dimension. More... | |
Complex & | elem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
Complex & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
Complex & | elem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | elem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Complex & | operator() (octave_idx_type n) |
Size of the specified dimension. More... | |
Complex & | operator() (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
Complex & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
Complex & | operator() (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
OCTARRAY_API Array< Complex, Alloc > | 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... | |
bool | issquare (void) const |
Size of the specified dimension. More... | |
bool | isempty (void) const |
Size of the specified dimension. More... | |
bool | isvector (void) const |
Size of the specified dimension. More... | |
bool | is_nd_vector (void) const |
Size of the specified dimension. More... | |
const Complex * | data (void) const |
Size of the specified dimension. More... | |
OCTARRAY_API Complex * | fortran_vec (void) |
Size of the specified dimension. More... | |
bool | is_shared (void) |
Size of the specified dimension. More... | |
int | ndims (void) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const octave::idx_vector &i) const |
Indexing without resizing. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const Array< octave::idx_vector > &ia) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const octave::idx_vector &i, bool resize_ok, const Complex &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< Complex, Alloc > | index (const octave::idx_vector &i, bool resize_ok) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const Complex &rfv) const |
Size of the specified dimension. More... | |
Array< Complex, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok, const Complex &rfv) const |
Size of the specified dimension. More... | |
Array< Complex, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok) const |
Size of the specified dimension. More... | |
virtual OCTARRAY_API Complex | resize_fill_value (void) const |
Size of the specified dimension. More... | |
OCTARRAY_API 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) |
Size of the specified dimension. More... | |
OCTARRAY_API void | resize1 (octave_idx_type n, const Complex &rfv) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n) |
Size of the specified dimension. More... | |
OCTARRAY_API void | resize (const dim_vector &dv, const Complex &rfv) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv) |
Size of the specified dimension. More... | |
OCTARRAY_API void | assign (const octave::idx_vector &i, const Array< Complex, Alloc > &rhs, const Complex &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const octave::idx_vector &i, const Array< Complex, Alloc > &rhs) |
Size of the specified dimension. More... | |
OCTARRAY_API void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< Complex, Alloc > &rhs, const Complex &rfv) |
Size of the specified dimension. More... | |
void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< Complex, Alloc > &rhs) |
Size of the specified dimension. More... | |
OCTARRAY_API void | assign (const Array< octave::idx_vector > &ia, const Array< Complex, Alloc > &rhs, const Complex &rfv) |
Size of the specified dimension. More... | |
void | assign (const Array< octave::idx_vector > &ia, const Array< Complex, Alloc > &rhs) |
Size of the specified dimension. More... | |
OCTARRAY_API void | delete_elements (const octave::idx_vector &i) |
Deleting elements. More... | |
OCTARRAY_API void | delete_elements (int dim, const octave::idx_vector &i) |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More... | |
OCTARRAY_API void | delete_elements (const Array< octave::idx_vector > &ia) |
Dispatcher to the above two. More... | |
void | maybe_economize (void) |
Size of the specified dimension. More... | |
OCTARRAY_API void | print_info (std::ostream &os, const std::string &prefix) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | sort (int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
OCTARRAY_API Array< Complex, Alloc > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
OCTARRAY_API sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
OCTARRAY_API Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
OCTARRAY_API sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
OCTARRAY_API octave_idx_type | lookup (const Complex &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
OCTARRAY_API Array< octave_idx_type > | lookup (const Array< Complex, Alloc > &values, sortmode mode=UNSORTED) const |
Ditto, but for an array of values, specializing on the case when values are sorted. More... | |
OCTARRAY_API octave_idx_type | nnz (void) const |
Count nonzero elements. More... | |
OCTARRAY_API Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
OCTARRAY_API Array< Complex, Alloc > | nth_element (const octave::idx_vector &n, int dim=0) const |
Returns the n-th element in increasing order, using the same ordering as used for sort. More... | |
Array< U, A > | map (F fcn) const |
Apply function fcn to each element of the Array<T, Alloc>. More... | |
Array< U, A > | map (U(&fcn)(Complex)) const |
Overloads for function references. More... | |
Array< U, A > | map (U(&fcn)(const Complex &)) const |
Size of the specified dimension. More... | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
bool | test_any (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 |
Size of the specified dimension. More... | |
bool | test_all (F fcn) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(Complex)) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(const Complex &)) const |
Size of the specified dimension. More... | |
OCTARRAY_API bool | optimize_dimensions (const dim_vector &dv) |
Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv. More... | |
static OCTARRAY_API Array< Complex, Alloc > | cat (int dim, octave_idx_type n, const Array< Complex, Alloc > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
typedef double ComplexMatrix::real_elt_type |
|
inherited |
typedef void(* ComplexMatrix::solve_singularity_handler) (double rcon) |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 147 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::cols(), Array< Complex >::numel(), Array< Complex >::rows(), Array< T, Alloc >::rows(), and Array< Complex >::xelem().
|
explicit |
Definition at line 71 of file CMatrix.cc.
|
explicit |
Definition at line 75 of file CMatrix.cc.
|
explicit |
Definition at line 79 of file CMatrix.cc.
|
explicit |
Definition at line 83 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 90 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 97 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 104 of file CMatrix.cc.
|
explicit |
Definition at line 108 of file CMatrix.cc.
|
explicit |
Definition at line 112 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 119 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 126 of file CMatrix.cc.
References Array< Complex >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 135 of file CMatrix.cc.
|
explicit |
Definition at line 139 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< Complex >::elem(), and Array< T, Alloc >::rows().
Matrix ComplexMatrix::abs | ( | void | ) | const |
Definition at line 2819 of file CMatrix.cc.
References ComplexNDArray::abs().
Referenced by SparseComplexMatrix::bsolve(), and norm1().
boolMatrix ComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2777 of file CMatrix.cc.
References ComplexNDArray::all().
|
inherited |
Definition at line 279 of file CNDArray.cc.
References mx_inline_all_real().
Referenced by octave_complex_matrix::bool_array_value(), and octave_complex_matrix::try_narrowing_conversion().
Definition at line 289 of file CNDArray.cc.
References Array< Complex >::elem(), Array< Complex >::numel(), and octave::math::x_nint().
Referenced by octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), and octave_complex_matrix::save_hdf5().
boolMatrix ComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2783 of file CMatrix.cc.
References ComplexNDArray::any().
|
inherited |
Definition at line 271 of file CNDArray.cc.
References mx_inline_all_finite().
Referenced by Fgsvd(), Fsvd(), and EIG::init().
|
inherited |
Definition at line 265 of file CNDArray.cc.
References mx_inline_any_nan().
Referenced by octave_complex_matrix::bool_array_value(), and ComplexNDArray::operator!().
ComplexMatrix ComplexMatrix::append | ( | const ColumnVector & | a | ) | const |
Definition at line 465 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 525 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 540 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), insert(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexMatrix & | a | ) | const |
Definition at line 495 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), insert(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexRowVector & | a | ) | const |
Definition at line 510 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const DiagMatrix & | a | ) | const |
Definition at line 480 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), insert(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix ComplexMatrix::append | ( | const Matrix & | a | ) | const |
Definition at line 435 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), insert(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const RowVector & | a | ) | const |
Definition at line 450 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
|
inlineinherited |
|
inherited |
|
inlineinherited |
Definition at line 156 of file CNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
ComplexColumnVector ComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 708 of file CMatrix.cc.
References octave::idx_vector::colon, and Array< Complex >::index().
Referenced by qr< T >::insert_col(), SparseComplexMatrix::solve(), solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
bool ComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 2862 of file CMatrix.cc.
References Array< Complex >::elem(), imag(), and Array< Complex >::rows().
Referenced by column_max(), and column_min().
ComplexRowVector ComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3113 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< Complex >::elem(), Array< T, Alloc >::elem(), octave::math::isnan(), NaN, Array< T, Alloc >::resize(), ComplexRowVector::resize(), and Array< Complex >::rows().
ComplexRowVector ComplexMatrix::column_max | ( | void | ) | const |
ComplexRowVector ComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3038 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< Complex >::elem(), Array< T, Alloc >::elem(), octave::math::isnan(), NaN, Array< T, Alloc >::resize(), ComplexRowVector::resize(), and Array< Complex >::rows().
ComplexRowVector ComplexMatrix::column_min | ( | void | ) | const |
|
inlineinherited |
|
staticinherited |
Definition at line 578 of file CNDArray.cc.
References compute_index(), and ra_idx.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 400 of file CNDArray.cc.
References ComplexNDArray::insert(), Array< T, Alloc >::numel(), and ra_idx.
|
inherited |
Definition at line 409 of file CNDArray.cc.
References ComplexNDArray::insert(), Array< T, Alloc >::numel(), and ra_idx.
|
inherited |
Definition at line 460 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 454 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 472 of file CNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 466 of file CNDArray.cc.
References mx_inline_cummin().
ComplexMatrix ComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2789 of file CMatrix.cc.
References ComplexNDArray::cumprod().
ComplexMatrix ComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2795 of file CMatrix.cc.
References ComplexNDArray::cumsum().
|
inherited |
|
inherited |
|
inherited |
ComplexDET ComplexMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1189 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), norm1(), MatrixType::Rectangular, Array< Complex >::rows(), base_det< T >::square(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1174 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1181 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1166 of file CMatrix.cc.
References determinant().
Referenced by determinant(), and Fdet().
ComplexMatrix ComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2825 of file CMatrix.cc.
References ComplexNDArray::diag().
Referenced by octave_complex_matrix::diag().
ComplexDiagMatrix ComplexMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 2831 of file CMatrix.cc.
References Array< Complex >::cols(), ComplexDiagMatrix, and Array< Complex >::rows().
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix ComplexMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 683 of file CMatrix.cc.
References Array< Complex >::index().
Referenced by Fdlmread(), and pseudo_inverse().
ComplexMatrix ComplexMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 693 of file CMatrix.cc.
References Array< Complex >::index().
ComplexMatrix & ComplexMatrix::fill | ( | const Complex & | val | ) |
Definition at line 365 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::fill | ( | const Complex & | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 409 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::fill | ( | double | val | ) |
Definition at line 347 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
Referenced by insert().
ComplexMatrix & ComplexMatrix::fill | ( | double | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 383 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
private |
Definition at line 836 of file CMatrix.cc.
References Array< Complex >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_rectangular(), norm1(), real(), Array< T, Alloc >::resize(), and Array< Complex >::rows().
Referenced by inverse().
|
inherited |
Definition at line 58 of file CNDArray.cc.
References ComplexNDArray::ComplexNDArray(), Array< Complex >::data(), Array< Complex >::dims(), octave::fftw::fft(), Array< T, Alloc >::fortran_vec(), dim_vector::ndims(), and Array< Complex >::numel().
Referenced by do_fft().
ComplexMatrix ComplexMatrix::fourier | ( | void | ) | const |
Definition at line 1040 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave::fftw::fft(), Array< T, Alloc >::fortran_vec(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1098 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave::fftw::fftNd(), Array< T, Alloc >::fortran_vec(), and Array< Complex >::rows().
|
inherited |
Definition at line 160 of file CNDArray.cc.
References Array< Complex >::data(), Array< Complex >::dims(), octave::fftw::fftNd(), Array< T, Alloc >::fortran_vec(), and dim_vector::ndims().
Referenced by do_fftn().
|
private |
Definition at line 1717 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::cols(), Array< T, Alloc >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_full(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), norm1(), Array< T, Alloc >::rows(), Array< Complex >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inline |
Definition at line 170 of file CMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by Fordqz(), LuAminusSigmaB(), make_cholb(), oct_unop_hermitian(), pseudo_inverse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), solve(), Sylvester(), and xdiv().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 89 of file CNDArray.cc.
References ComplexNDArray::ComplexNDArray(), Array< Complex >::data(), Array< Complex >::dims(), Array< T, Alloc >::fortran_vec(), octave::fftw::ifft(), dim_vector::ndims(), and Array< Complex >::numel().
Referenced by do_fft().
ComplexMatrix ComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1069 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), Array< T, Alloc >::fortran_vec(), octave::fftw::ifft(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1112 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), Array< T, Alloc >::fortran_vec(), octave::fftw::ifftNd(), and Array< Complex >::rows().
|
inherited |
Definition at line 175 of file CNDArray.cc.
References Array< Complex >::data(), Array< Complex >::dims(), Array< T, Alloc >::fortran_vec(), octave::fftw::ifftNd(), and dim_vector::ndims().
Referenced by do_fftn().
|
staticinherited |
Definition at line 570 of file CNDArray.cc.
References ComplexNDArray::increment_index(), and ra_idx.
Referenced by ComplexNDArray::increment_index(), and ComplexNDArray::insert().
|
inherited |
|
inlineinherited |
|
inherited |
ComplexMatrix & ComplexMatrix::insert | ( | const ColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 235 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::elem(), Array< Complex >::make_unique(), Array< T, Alloc >::numel(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 302 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::elem(), Array< Complex >::make_unique(), Array< T, Alloc >::numel(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 322 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< Complex >::make_unique(), Array< Complex >::rows(), DiagArray2< T >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 280 of file CMatrix.cc.
References ComplexNDArray::insert().
|
inherited |
Definition at line 562 of file CNDArray.cc.
References Array< T, Alloc >::insert(), and ra_idx.
|
inherited |
Definition at line 554 of file CNDArray.cc.
References Array< T, Alloc >::insert().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 288 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::elem(), Array< Complex >::elem(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::insert | ( | const DiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 255 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< Complex >::make_unique(), Array< Complex >::rows(), DiagArray2< T >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const Matrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 195 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< Complex >::make_unique(), Array< Complex >::rows(), Array< T, Alloc >::rows(), and Array< Complex >::xelem().
|
inherited |
Definition at line 508 of file CNDArray.cc.
References Array< Complex >::dims(), Array< T, Alloc >::dims(), Array< T, Alloc >::elem(), Array< Complex >::elem(), ComplexNDArray::increment_index(), dim_vector::ndims(), Array< T, Alloc >::numel(), and ra_idx.
Referenced by ComplexNDArray::concat(), NDArray::concat(), concat(), and insert().
ComplexMatrix & ComplexMatrix::insert | ( | const RowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 216 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T, Alloc >::elem(), Array< Complex >::make_unique(), Array< T, Alloc >::numel(), Array< Complex >::rows(), and Array< Complex >::xelem().
|
privateinherited |
Definition at line 37 of file MArray-i.cc.
|
privateinherited |
Definition at line 47 of file MArray-i.cc.
|
privateinherited |
Definition at line 48 of file MArray-i.cc.
|
privateinherited |
Definition at line 49 of file MArray-i.cc.
|
privateinherited |
Definition at line 50 of file MArray-i.cc.
|
privateinherited |
Definition at line 58 of file MArray-i.cc.
|
privateinherited |
Definition at line 59 of file MArray-i.cc.
|
privateinherited |
Definition at line 35 of file MArray-s.cc.
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 762 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 770 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 929 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::columns(), MatrixType::Diagonal, Array< Complex >::elem(), finverse(), imag(), Inf, octave::math::isfinite(), MatrixType::ishermitian(), octave::math::isinf(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), NaN, real(), Array< Complex >::rows(), scalar(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 746 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 754 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | void | ) | const |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Definition at line 496 of file CNDArray.cc.
bool ComplexMatrix::ishermitian | ( | void | ) | const |
Definition at line 174 of file CMatrix.cc.
Referenced by F__eigs__(), and EIG::init().
|
inherited |
Definition at line 490 of file CNDArray.cc.
|
inherited |
Definition at line 484 of file CNDArray.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b | ) | const |
Definition at line 2440 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2449 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2457 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2465 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2472 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2481 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2490 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2499 of file CMatrix.cc.
References Array< Complex >::cols(), ComplexColumnVector, Array< T, Alloc >::elem(), F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), octave::math::log2(), Array< T, Alloc >::numel(), real(), Array< T, Alloc >::resize(), ComplexColumnVector::resize(), Array< Complex >::rows(), and xilaenv().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2247 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2256 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2264 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2272 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::cols(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), octave::math::log2(), max(), NaN, norm1(), real(), Array< T, Alloc >::resize(), resize(), Array< T, Alloc >::rows(), Array< Complex >::rows(), and xilaenv().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b | ) | const |
Definition at line 2215 of file CMatrix.cc.
References lssolve().
Referenced by Matrix::lssolve(), lssolve(), and solve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2224 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2232 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2240 of file CMatrix.cc.
References lssolve().
|
private |
Definition at line 1619 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::cols(), Array< T, Alloc >::cols(), Array< Complex >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), get_blas_char(), octave::math::isnan(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, Array< T, Alloc >::rows(), Array< Complex >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inherited |
Definition at line 436 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 430 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 448 of file CNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 442 of file CNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
|
inherited |
Definition at line 254 of file CNDArray.cc.
References ComplexNDArray::any_element_is_nan(), octave::err_nan_to_logical_conversion(), and mx_inline_not().
bool ComplexMatrix::operator!= | ( | const ComplexMatrix & | a | ) | const |
Definition at line 168 of file CMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix & ComplexMatrix::operator+= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 2695 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), Array< Complex >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 2659 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), Array< Complex >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const Matrix & | a | ) |
Definition at line 2733 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), d, Array< T, Alloc >::data(), octave::err_nonconformant(), Array< Complex >::fortran_vec(), mx_inline_add2(), Array< Complex >::numel(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 2713 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), Array< Complex >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const DiagMatrix & | a | ) |
Definition at line 2677 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), Array< Complex >::elem(), DiagArray2< T >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const Matrix & | a | ) |
Definition at line 2754 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), d, Array< T, Alloc >::data(), octave::err_nonconformant(), Array< Complex >::fortran_vec(), mx_inline_sub2(), Array< Complex >::numel(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
|
default |
bool ComplexMatrix::operator== | ( | const ComplexMatrix & | a | ) | const |
Definition at line 159 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), Array< Complex >::data(), Array< T, Alloc >::data(), mx_inline_equal(), Array< Complex >::numel(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
|
inherited |
|
inlineinherited |
ComplexMatrix ComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2801 of file CMatrix.cc.
References ComplexNDArray::prod().
ComplexMatrix ComplexMatrix::pseudo_inverse | ( | double | tol = 0.0 | ) | const |
Definition at line 995 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::cols(), DiagMatrix, Array< T, Alloc >::elem(), extract(), ColumnVector::extract(), DiagMatrix::extract_diag(), hermitian(), octave::math::svd< T >::left_singular_matrix(), max(), min(), Array< T, Alloc >::numel(), octave::math::svd< T >::right_singular_matrix(), Array< Complex >::rows(), octave::math::svd< T >::singular_values(), and V.
Referenced by Fpinv().
double ComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1352 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), NaN, norm(), norm1(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Array< Complex >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
double ComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1345 of file CMatrix.cc.
References rcond().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inline |
Definition at line 193 of file CMatrix.h.
References Array< T >::resize().
Referenced by SparseMatrix::bsolve(), octave::math::do_bessel(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), Fdlmread(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), qr< T >::init(), qrp< T >::init(), EIG::init(), lssolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::utsolve(), and SparseMatrix::utsolve().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
ComplexRowVector ComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 702 of file CMatrix.cc.
References octave::idx_vector::colon, and Array< Complex >::index().
bool ComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 2843 of file CMatrix.cc.
References Array< Complex >::columns(), Array< Complex >::elem(), and imag().
ComplexColumnVector ComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2963 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< Complex >::elem(), Array< T, Alloc >::elem(), octave::math::isnan(), NaN, Array< T, Alloc >::resize(), ComplexColumnVector::resize(), row_is_real_only(), and Array< Complex >::rows().
ComplexColumnVector ComplexMatrix::row_max | ( | void | ) | const |
ComplexColumnVector ComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2888 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< Complex >::elem(), Array< T, Alloc >::elem(), octave::math::isnan(), NaN, Array< T, Alloc >::resize(), ComplexColumnVector::resize(), row_is_real_only(), and Array< Complex >::rows().
ComplexColumnVector ComplexMatrix::row_min | ( | void | ) | const |
|
inlineinherited |
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 2152 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2160 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2167 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2174 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2183 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2191 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2198 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2205 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2120 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2128 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2135 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2142 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 2089 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2097 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2104 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2111 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b | ||
) | const |
Definition at line 2021 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2029 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2037 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2044 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 2054 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2062 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2070 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2077 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 1960 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1968 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1976 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1983 of file CMatrix.cc.
References blas_conj_trans, blas_trans, fsolve(), MatrixType::Full, hermitian(), MatrixType::Hermitian, MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b | ||
) | const |
Definition at line 1926 of file CMatrix.cc.
References solve().
Referenced by Matrix::solve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1934 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 1942 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1949 of file CMatrix.cc.
References solve().
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inherited |
Definition at line 42 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 131 of file CNDArray.h.
References MArray< T >::squeeze().
ComplexMatrix ComplexMatrix::stack | ( | const ColumnVector & | a | ) | const |
Definition at line 585 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 645 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 660 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), insert(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexMatrix & | a | ) | const |
Definition at line 615 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), insert(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexRowVector & | a | ) | const |
Definition at line 630 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const DiagMatrix & | a | ) | const |
Definition at line 600 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::cols(), insert(), Array< Complex >::rows(), and DiagArray2< T >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const Matrix & | a | ) | const |
Definition at line 555 of file CMatrix.cc.
References Array< T, Alloc >::cols(), Array< Complex >::cols(), insert(), Array< T, Alloc >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const RowVector & | a | ) | const |
Definition at line 570 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T, Alloc >::numel(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2807 of file CMatrix.cc.
References ComplexNDArray::sum().
ComplexMatrix ComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2813 of file CMatrix.cc.
References ComplexNDArray::sumsq().
|
private |
Definition at line 777 of file CMatrix.cc.
References Array< Complex >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, Array< Complex >::rows(), and MatrixType::type().
Referenced by inverse().
|
inherited |
Definition at line 340 of file CNDArray.cc.
References Array< Complex >::test_any(), and octave::too_large_for_float().
Referenced by octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), and octave_complex_matrix::save_hdf5().
|
inline |
Definition at line 172 of file CMatrix.h.
References MArray< T >::transpose().
Referenced by oct_unop_transpose(), read_mat_binary_data(), solve(), and xdiv().
|
private |
Definition at line 1521 of file CMatrix.cc.
References ComplexMatrix(), Array< Complex >::cols(), Array< T, Alloc >::cols(), Array< Complex >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), get_blas_char(), octave::math::isnan(), norm(), MatrixType::Permuted_Upper, Array< T, Alloc >::rows(), Array< Complex >::rows(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
friend |
Definition at line 675 of file CMatrix.cc.
Referenced by conj().
|
friend |
Definition at line 3182 of file CMatrix.cc.
|
friend |
Definition at line 3198 of file CMatrix.cc.
|
protectedinherited |
|
protectedinherited |