#include "fCMatrix.h"
Public Types | |
typedef FloatComplexColumnVector | column_vector_type |
typedef FloatComplexDiagMatrix | complex_diag_matrix_type |
typedef FloatComplex | complex_elt_type |
typedef FloatComplexMatrix | complex_matrix_type |
typedef FloatColumnVector | real_column_vector_type |
typedef FloatDiagMatrix | real_diag_matrix_type |
typedef float | real_elt_type |
typedef FloatMatrix | real_matrix_type |
typedef FloatRowVector | real_row_vector_type |
typedef FloatComplexRowVector | row_vector_type |
typedef void(* | solve_singularity_handler) (float rcon) |
Public Types inherited from Array< T, Alloc > | |
typedef bool(* | compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type) |
typedef ref_param< T >::type | crefT |
typedef T | element_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef T | value_type |
Friends | |
FloatComplexMatrix | conj (const FloatComplexMatrix &a) |
std::ostream & | operator<< (std::ostream &os, const FloatComplexMatrix &a) |
std::istream & | operator>> (std::istream &is, FloatComplexMatrix &a) |
Additional Inherited Members | |
Static Public Member Functions inherited from FloatComplexNDArray | |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
Static Public Member Functions inherited from Array< T, Alloc > | |
static Array< T, Alloc > | cat (int dim, octave_idx_type n, const Array< T, Alloc > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
Protected Member Functions inherited from Array< T, Alloc > | |
Array (const Array< T, Alloc > &a, const dim_vector &dv, octave_idx_type l, octave_idx_type u) | |
slice constructor More... | |
Protected Attributes inherited from Array< T, Alloc > | |
dim_vector | m_dimensions |
Array< T, Alloc >::ArrayRep * | m_rep |
T * | m_slice_data |
octave_idx_type | m_slice_len |
Definition at line 40 of file fCMatrix.h.
Definition at line 46 of file fCMatrix.h.
Definition at line 56 of file fCMatrix.h.
Definition at line 59 of file fCMatrix.h.
Definition at line 53 of file fCMatrix.h.
Definition at line 49 of file fCMatrix.h.
Definition at line 55 of file fCMatrix.h.
typedef float FloatComplexMatrix::real_elt_type |
Definition at line 58 of file fCMatrix.h.
Definition at line 52 of file fCMatrix.h.
Definition at line 50 of file fCMatrix.h.
Definition at line 47 of file fCMatrix.h.
typedef void(* FloatComplexMatrix::solve_singularity_handler) (float rcon) |
Definition at line 61 of file fCMatrix.h.
|
default |
Referenced by lssolve(), and pseudo_inverse().
|
default |
|
default |
|
inline |
Definition at line 71 of file fCMatrix.h.
|
inline |
Definition at line 74 of file fCMatrix.h.
|
inline |
Definition at line 78 of file fCMatrix.h.
|
inline |
Definition at line 81 of file fCMatrix.h.
|
inline |
Definition at line 85 of file fCMatrix.h.
|
inline |
Definition at line 89 of file fCMatrix.h.
|
explicit |
Definition at line 69 of file fCMatrix.cc.
|
explicit |
Definition at line 73 of file fCMatrix.cc.
|
explicit |
Definition at line 77 of file fCMatrix.cc.
|
explicit |
Definition at line 81 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 88 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 95 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 102 of file fCMatrix.cc.
|
explicit |
Definition at line 106 of file fCMatrix.cc.
|
explicit |
Definition at line 110 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 117 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 124 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 134 of file fCMatrix.cc.
|
explicit |
Definition at line 138 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), and Array< T, Alloc >::rows().
FloatComplexMatrix::FloatComplexMatrix | ( | const FloatMatrix & | re, |
const FloatMatrix & | im | ||
) |
Definition at line 146 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::numel(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatMatrix FloatComplexMatrix::abs | ( | ) | const |
Definition at line 2853 of file fCMatrix.cc.
References FloatComplexNDArray::abs().
boolMatrix FloatComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2811 of file fCMatrix.cc.
References FloatComplexNDArray::all().
boolMatrix FloatComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2817 of file fCMatrix.cc.
References FloatComplexNDArray::any().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatColumnVector & | a | ) | const |
Definition at line 468 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 528 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 543 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 498 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 513 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 483 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatMatrix & | a | ) | const |
Definition at line 438 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatRowVector & | a | ) | const |
Definition at line 453 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexColumnVector FloatComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 711 of file fCMatrix.cc.
References Array< T, Alloc >::index().
Referenced by qr< T >::insert_col(), solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
bool FloatComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 2900 of file fCMatrix.cc.
References Array< T, Alloc >::elem(), imag(), and Array< T, Alloc >::rows().
Referenced by column_max(), and column_min().
FloatComplexRowVector FloatComplexMatrix::column_max | ( | ) | const |
Definition at line 3144 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3151 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), column_is_real_only(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatComplexRowVector::resize(), and Array< T, Alloc >::rows().
FloatComplexRowVector FloatComplexMatrix::column_min | ( | ) | const |
Definition at line 3069 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3076 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), column_is_real_only(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatComplexRowVector::resize(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2823 of file fCMatrix.cc.
References FloatComplexNDArray::cumprod().
FloatComplexMatrix FloatComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2829 of file fCMatrix.cc.
References FloatComplexNDArray::cumsum().
FloatComplexDET FloatComplexMatrix::determinant | ( | ) | const |
Definition at line 1174 of file fCMatrix.cc.
Referenced by determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1197 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Rectangular, Array< T, Alloc >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1182 of file fCMatrix.cc.
References determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1189 of file fCMatrix.cc.
References determinant().
FloatComplexMatrix FloatComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2859 of file fCMatrix.cc.
References FloatComplexNDArray::diag().
Referenced by octave_float_complex_matrix::diag().
FloatComplexDiagMatrix FloatComplexMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 2865 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), current_liboctave_error_handler, m, n, and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 686 of file fCMatrix.cc.
References Array< T, Alloc >::index().
Referenced by pseudo_inverse().
FloatComplexMatrix FloatComplexMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 696 of file fCMatrix.cc.
References Array< T, Alloc >::index().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | const FloatComplex & | val | ) |
Definition at line 367 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | const FloatComplex & | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 411 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | float | val | ) |
Definition at line 349 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
Referenced by insert().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | float | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 385 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix FloatComplexMatrix::fourier | ( | ) | const |
Definition at line 1048 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::fourier2d | ( | ) | const |
Definition at line 1106 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
|
inline |
Definition at line 178 of file fCMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by pseudo_inverse(), solve(), and Sylvester().
FloatComplexMatrix FloatComplexMatrix::ifourier | ( | ) | const |
Definition at line 1077 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::ifourier2d | ( | ) | const |
Definition at line 1120 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 237 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 304 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 324 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< T, Alloc >::make_unique(), r, Array< T, Alloc >::rows(), DiagArray2< T >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 282 of file fCMatrix.cc.
References Array< T, Alloc >::insert(), and r.
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 290 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::numel(), r, and Array< T, Alloc >::rows().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 257 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< T, Alloc >::make_unique(), r, Array< T, Alloc >::rows(), DiagArray2< T >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 195 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 217 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | ) | const |
Definition at line 740 of file fCMatrix.cc.
Referenced by inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 765 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 773 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 937 of file fCMatrix.cc.
References MatrixType::Diagonal, MatrixType::type(), and MatrixType::Unknown.
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 749 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 757 of file fCMatrix.cc.
References inverse().
bool FloatComplexMatrix::ishermitian | ( | ) | const |
Definition at line 174 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::issquare(), and Array< T, Alloc >::rows().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2471 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2480 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2489 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2497 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2504 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2513 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2522 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2532 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), F77_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), log2(), m, n, Array< T, Alloc >::numel(), real(), Array< T, Alloc >::resize(), FloatComplexColumnVector::resize(), Array< T, Alloc >::rows(), and xilaenv().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2277 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2286 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2295 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2303 of file fCMatrix.cc.
References FloatComplexMatrix(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), F77_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), log2(), m, max(), n, real(), Array< T, Alloc >::resize(), Array< T, Alloc >::rows(), and xilaenv().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2245 of file fCMatrix.cc.
Referenced by FloatMatrix::lssolve(), lssolve(), and solve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2254 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2262 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2270 of file fCMatrix.cc.
References lssolve().
boolMatrix FloatComplexMatrix::operator! | ( | ) | const |
bool FloatComplexMatrix::operator!= | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 168 of file fCMatrix.cc.
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 2729 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2693 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatMatrix & | a | ) |
Definition at line 2767 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), d, Array< T, Alloc >::data(), err_nonconformant(), Array< T, Alloc >::fortran_vec(), mx_inline_add2(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 2747 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2711 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatMatrix & | a | ) |
Definition at line 2788 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), d, Array< T, Alloc >::data(), err_nonconformant(), Array< T, Alloc >::fortran_vec(), mx_inline_sub2(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
|
default |
bool FloatComplexMatrix::operator== | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 159 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), mx_inline_equal(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2835 of file fCMatrix.cc.
References FloatComplexNDArray::prod().
FloatComplexMatrix FloatComplexMatrix::pseudo_inverse | ( | float | tol = 0.0 | ) | const |
Definition at line 1003 of file fCMatrix.cc.
References FloatComplexMatrix(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), extract(), FloatColumnVector::extract(), FloatDiagMatrix::extract_diag(), hermitian(), FloatDiagMatrix::inverse(), max(), min(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and V.
float FloatComplexMatrix::rcond | ( | ) | const |
Definition at line 1353 of file fCMatrix.cc.
float FloatComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1360 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, MatrixType::Lower, NaN, norm(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Array< T, Alloc >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inline |
Definition at line 201 of file fCMatrix.h.
References Array< T >::resize().
FloatComplexRowVector FloatComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 705 of file fCMatrix.cc.
References Array< T, Alloc >::index().
bool FloatComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 2881 of file fCMatrix.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::elem(), and imag().
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | ) | const |
Definition at line 2994 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3001 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatComplexColumnVector::resize(), row_is_real_only(), and Array< T, Alloc >::rows().
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | ) | const |
Definition at line 2919 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2926 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatComplexColumnVector::resize(), row_is_real_only(), and Array< T, Alloc >::rows().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2178 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2186 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2194 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2201 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2210 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2218 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2226 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2234 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2145 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2153 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2161 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2168 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2113 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2121 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2128 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2135 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b | ||
) | const |
Definition at line 2040 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2049 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2057 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2064 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b | ||
) | const |
Definition at line 2074 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2083 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2092 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2100 of file fCMatrix.cc.
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b | ||
) | const |
Definition at line 1976 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1985 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1993 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2000 of file fCMatrix.cc.
References blas_conj_trans, blas_trans, MatrixType::Full, hermitian(), MatrixType::Hermitian, MatrixType::Lower, lssolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b | ||
) | const |
Definition at line 1942 of file fCMatrix.cc.
Referenced by FloatMatrix::solve(), solve(), xdiv(), and xleftdiv().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1950 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1958 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 1965 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatColumnVector & | a | ) | const |
Definition at line 588 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 648 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 663 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 618 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 633 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 603 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatMatrix & | a | ) | const |
Definition at line 558 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatRowVector & | a | ) | const |
Definition at line 573 of file fCMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2841 of file fCMatrix.cc.
References FloatComplexNDArray::sum().
FloatComplexMatrix FloatComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2847 of file fCMatrix.cc.
References FloatComplexNDArray::sumsq().
|
inline |
Definition at line 180 of file fCMatrix.h.
References MArray< T >::transpose().
|
friend |
Definition at line 678 of file fCMatrix.cc.
|
friend |
Definition at line 3220 of file fCMatrix.cc.
|
friend |
Definition at line 3236 of file fCMatrix.cc.