#include "CMatrix.h"
Definition at line 35 of file CMatrix.h.
typedef void(* ComplexMatrix::solve_singularity_handler)(double rcon) |
ComplexMatrix::ComplexMatrix | ( | void | ) | [inline] |
Definition at line 46 of file CMatrix.h.
Referenced by ComplexCHOL::downdate(), ComplexQR::form(), inverse(), ComplexSVD::left_singular_matrix(), lssolve(), ComplexNDArray::matrix_value(), max(), min(), operator*(), pseudo_inverse(), ComplexSVD::right_singular_matrix(), solve(), ComplexCHOL::update(), and xgemm().
ComplexMatrix::ComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
ComplexMatrix::ComplexMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
const Complex & | val | |||
) | [inline] |
ComplexMatrix::ComplexMatrix | ( | const dim_vector & | dv | ) | [inline] |
ComplexMatrix::ComplexMatrix | ( | const dim_vector & | dv, | |
const Complex & | val | |||
) | [inline] |
ComplexMatrix::ComplexMatrix | ( | const ComplexMatrix & | a | ) | [inline] |
ComplexMatrix::ComplexMatrix | ( | const MArray< U > & | a | ) | [inline] |
ComplexMatrix::ComplexMatrix | ( | const Array< U > & | a | ) | [inline] |
Definition at line 319 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Array< Complex >::numel(), Array< Complex >::rows(), Array< T >::rows(), and Array< Complex >::xelem().
ComplexMatrix::ComplexMatrix | ( | const Matrix & | a | ) | [explicit] |
Definition at line 264 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const RowVector & | rv | ) | [explicit] |
Definition at line 269 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const ColumnVector & | cv | ) | [explicit] |
Definition at line 274 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const DiagMatrix & | a | ) | [explicit] |
Definition at line 279 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
ComplexMatrix::ComplexMatrix | ( | const ComplexRowVector & | rv | ) | [explicit] |
Definition at line 286 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const ComplexColumnVector & | cv | ) | [explicit] |
Definition at line 291 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const ComplexDiagMatrix & | a | ) | [explicit] |
Definition at line 296 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
ComplexMatrix::ComplexMatrix | ( | const boolMatrix & | a | ) | [explicit] |
Definition at line 306 of file CMatrix.cc.
ComplexMatrix::ComplexMatrix | ( | const charMatrix & | a | ) | [explicit] |
Definition at line 311 of file CMatrix.cc.
References Array< T >::cols(), Array< T >::elem(), Array< Complex >::elem(), and Array< T >::rows().
Matrix ComplexMatrix::abs | ( | void | ) | const |
Definition at line 3238 of file CMatrix.cc.
Referenced by SparseComplexMatrix::bsolve(), column_max(), column_min(), finverse(), fsolve(), rcond(), row_max(), and row_min().
boolMatrix ComplexMatrix::all | ( | int | dim = -1 |
) | const |
Definition at line 3197 of file CMatrix.cc.
bool ComplexMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 3108 of file CMatrix.cc.
Definition at line 3118 of file CMatrix.cc.
References Array< Complex >::cols(), D_NINT(), Array< Complex >::elem(), imag(), real, and Array< Complex >::rows().
Referenced by octave_complex_diag_matrix::save_binary().
boolMatrix ComplexMatrix::any | ( | int | dim = -1 |
) | const |
Definition at line 3203 of file CMatrix.cc.
bool ComplexMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 3100 of file CMatrix.cc.
Referenced by DEFUN_DLD(), EIG::init(), and set_format().
bool ComplexMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 3094 of file CMatrix.cc.
Referenced by operator!().
ComplexMatrix ComplexMatrix::append | ( | const RowVector & | a | ) | const |
Definition at line 644 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ColumnVector & | a | ) | const |
Definition at line 662 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const DiagMatrix & | a | ) | const |
Definition at line 680 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexMatrix & | a | ) | const |
Definition at line 698 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexRowVector & | a | ) | const |
Definition at line 716 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 734 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const Matrix & | a | ) | const |
Definition at line 626 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 752 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::rows(), and Array< Complex >::rows().
void Array< Complex >::assign | ( | const idx_vector & | i, | |
const Array< Complex > & | rhs, | |||
const Complex & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< Complex >::assign | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const Array< Complex > & | rhs, | |||
const Complex & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< Complex >::assign | ( | const Array< idx_vector > & | ia, | |
const Array< Complex > & | rhs, | |||
const Complex & | rfv = resize_fill_value () | |||
) | [inherited] |
Reimplemented in DiagArray2< Complex >.
octave_idx_type Array< Complex >::capacity | ( | void | ) | const [inline, inherited] |
static Array<Complex > Array< Complex >::cat | ( | int | dim, | |
octave_idx_type | n, | |||
const Array< Complex > * | array_list | |||
) | [static, inherited] |
Reimplemented in ComplexNDArray.
Complex & Array< Complex >::checkelem | ( | octave_idx_type | n | ) | [inherited] |
Complex & Array< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inherited] |
Reimplemented in DiagArray2< Complex >.
Complex & Array< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inherited] |
Complex & Array< Complex >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inherited] |
crefT Array< Complex >::checkelem | ( | octave_idx_type | n | ) | const [inherited] |
crefT Array< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
Reimplemented in DiagArray2< Complex >.
crefT Array< Complex >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
crefT Array< Complex >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
void Array< Complex >::clear | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline, inherited] |
void Array< Complex >::clear | ( | const dim_vector & | dv | ) | [inherited] |
octave_idx_type Array< Complex >::cols | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 304 of file Array.h.
Referenced by all_integers(), append(), column_max(), column_min(), ComplexMatrix(), determinant(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), is_hermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), too_large_for_float(), and utsolve().
ComplexColumnVector ComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Reimplemented from Array< Complex >.
Definition at line 953 of file CMatrix.cc.
References idx_vector::colon, and Array< Complex >::index().
Referenced by ComplexQR::insert_col(), SparseComplexMatrix::solve(), and solve().
bool ComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 3269 of file CMatrix.cc.
References Array< Complex >::elem(), imag(), and Array< Complex >::rows().
Referenced by column_max(), and column_min().
ComplexRowVector ComplexMatrix::column_max | ( | void | ) | const |
Definition at line 3510 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3517 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real, Array< T >::resize(), ComplexRowVector::resize(), Array< Complex >::rows(), and xisnan().
ComplexRowVector ComplexMatrix::column_min | ( | void | ) | const |
Definition at line 3436 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3443 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real, Array< T >::resize(), ComplexRowVector::resize(), Array< Complex >::rows(), and xisnan().
octave_idx_type Array< Complex >::columns | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 305 of file Array.h.
Referenced by inverse(), and row_is_real_only().
octave_idx_type Array< Complex >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inherited] |
octave_idx_type Array< Complex >::compute_index | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inherited] |
octave_idx_type Array< Complex >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
octave_idx_type Array< Complex >::compute_index_unchecked | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
ComplexMatrix ComplexMatrix::cumprod | ( | int | dim = -1 |
) | const |
Definition at line 3209 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::cumsum | ( | int | dim = -1 |
) | const |
Definition at line 3215 of file CMatrix.cc.
Reimplemented in DiagArray2< Complex >.
Definition at line 435 of file Array.h.
Referenced by ComplexRowVector::operator==(), operator==(), and ComplexColumnVector::operator==().
void Array< Complex >::delete_elements | ( | const idx_vector & | i | ) | [inherited] |
void Array< Complex >::delete_elements | ( | int | dim, | |
const idx_vector & | i | |||
) | [inherited] |
void Array< Complex >::delete_elements | ( | const Array< idx_vector > & | ia | ) | [inherited] |
ComplexDET ComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1546 of file CMatrix.cc.
Referenced by DEFUN_DLD(), and determinant().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1554 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info, | |
double & | rcon, | |||
int | calc_cond = 1 | |||
) | const |
Definition at line 1561 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcon, | |||
int | calc_cond = 1 | |||
) | const |
Definition at line 1568 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_unsymmetric(), MatrixType::Rectangular, Array< Complex >::rows(), base_det< T >::square(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and xnorm().
ComplexMatrix ComplexMatrix::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from Array< Complex >.
Definition at line 3244 of file CMatrix.cc.
octave_idx_type Array< Complex >::dim1 | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
octave_idx_type Array< Complex >::dim2 | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
octave_idx_type Array< Complex >::dim3 | ( | void | ) | const [inline, inherited] |
const dim_vector& Array< Complex >::dims | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 311 of file Array.h.
Referenced by ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::fourierNd(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), and ComplexNDArray::ifourierNd().
Complex & Array< Complex >::elem | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 353 of file Array.h.
Referenced by ComplexNDArray::all_integers(), all_integers(), column_is_real_only(), column_max(), column_min(), ComplexMatrix(), determinant(), ComplexRowVector::extract(), ComplexColumnVector::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), ComplexNDArray::fourier(), ComplexNDArray::ifourier(), ComplexNDArray::insert(), insert(), is_hermitian(), ComplexRowVector::max(), ComplexColumnVector::max(), ComplexRowVector::min(), ComplexColumnVector::min(), operator+=(), operator-=(), row_is_real_only(), row_max(), row_min(), ComplexNDArray::too_large_for_float(), and too_large_for_float().
Complex & Array< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Complex & Array< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Complex & Array< Complex >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< Complex >::elem | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
crefT Array< Complex >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
crefT Array< Complex >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
ComplexMatrix ComplexMatrix::extract | ( | octave_idx_type | r1, | |
octave_idx_type | c1, | |||
octave_idx_type | r2, | |||
octave_idx_type | c2 | |||
) | const |
Definition at line 930 of file CMatrix.cc.
References Array< Complex >::index().
Referenced by DEFUN_DLD(), 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 939 of file CMatrix.cc.
References Array< Complex >::index().
ComplexMatrix & ComplexMatrix::fill | ( | double | val | ) |
Definition at line 534 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 | ( | const Complex & | val, | |
octave_idx_type | r1, | |||
octave_idx_type | c1, | |||
octave_idx_type | r2, | |||
octave_idx_type | c2 | |||
) |
Definition at line 598 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 | ) |
Reimplemented from Array< Complex >.
Definition at line 552 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::fill | ( | double | val, | |
octave_idx_type | r1, | |||
octave_idx_type | c1, | |||
octave_idx_type | r2, | |||
octave_idx_type | c2 | |||
) |
Definition at line 570 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
Array<octave_idx_type> Array< Complex >::find | ( | octave_idx_type | n = -1 , |
|
bool | backward = false | |||
) | const [inherited] |
ComplexMatrix ComplexMatrix::finverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcon, | |||
int | force, | |||
int | calc_cond | |||
) | const [private] |
Definition at line 1056 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::mark_as_rectangular(), RowVector::max(), real, Array< T >::resize(), Matrix::row(), Array< Complex >::rows(), and Matrix::sum().
Referenced by inverse().
Reimplemented in DiagArray2< Complex >.
Definition at line 437 of file Array.h.
Referenced by ltsolve(), ComplexRowVector::operator+=(), operator+=(), ComplexColumnVector::operator+=(), ComplexRowVector::operator-=(), operator-=(), ComplexColumnVector::operator-=(), rcond(), and utsolve().
Reimplemented in DiagArray2< Complex >.
F77_RET_T Complex *F77_RET_T Complex Complex *F77_RET_T Complex Complex *ComplexMatrix ComplexMatrix::fourier | ( | void | ) | const |
Definition at line 1324 of file CMatrix.cc.
References Array< Complex >::cols(), F77_FUNC(), Array< T >::fortran_vec(), nn, Array< Complex >::rows(), zfftf(), and zffti().
ComplexMatrix ComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1409 of file CMatrix.cc.
References Array< Complex >::cols(), F77_FUNC(), Array< T >::fortran_vec(), nn, Array< T >::resize(), Array< Complex >::rows(), zfftf(), and zffti().
ComplexMatrix ComplexMatrix::fsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcon, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2079 of file CMatrix.cc.
References abs(), Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Matrix::row(), Array< T >::rows(), Array< Complex >::rows(), Matrix::sum(), MatrixType::type(), and xisnan().
Referenced by solve().
ComplexMatrix ComplexMatrix::hermitian | ( | void | ) | const [inline] |
Definition at line 135 of file CMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by DEFUN_DLD(), ComplexCHOL::delete_sym(), ComplexCHOL::downdate(), ComplexSVD::init(), ComplexCHOL::insert_sym(), pseudo_inverse(), SparseComplexQR::SparseComplexQR_rep::Q(), ComplexCHOL::shift_sym(), solve(), Sylvester(), ComplexQR::update(), ComplexCHOL::update(), and xdiv().
MArray<Complex > MArray< Complex >::hermitian | ( | Complex (*)(const Complex &) | fcn = 0 |
) | const [inline, inherited] |
Reimplemented from Array< Complex >.
Definition at line 86 of file MArray.h.
References Array< T >::hermitian().
void MArray< Complex >::idx_add | ( | const idx_vector & | idx, | |
Complex | val | |||
) | [inherited] |
void MArray< Complex >::idx_add | ( | const idx_vector & | idx, | |
const MArray< Complex > & | vals | |||
) | [inherited] |
void MArray< Complex >::idx_add_nd | ( | const idx_vector & | idx, | |
const MArray< Complex > & | vals, | |||
int | dim = -1 | |||
) | [inherited] |
void MArray< Complex >::idx_max | ( | const idx_vector & | idx, | |
const MArray< Complex > & | vals | |||
) | [inherited] |
void MArray< Complex >::idx_min | ( | const idx_vector & | idx, | |
const MArray< Complex > & | vals | |||
) | [inherited] |
ComplexMatrix ComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1365 of file CMatrix.cc.
References Array< Complex >::cols(), F77_FUNC(), Array< T >::fortran_vec(), nn, Array< Complex >::rows(), zfftb(), and zffti().
ComplexMatrix ComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1475 of file CMatrix.cc.
References Array< Complex >::cols(), F77_FUNC(), Array< T >::fortran_vec(), nn, Array< T >::resize(), Array< Complex >::rows(), zfftb(), and zffti().
Array<Complex > Array< Complex >::index | ( | const idx_vector & | i | ) | const [inherited] |
Referenced by column(), extract(), extract_n(), and row().
Array<Complex > Array< Complex >::index | ( | const idx_vector & | i, | |
const idx_vector & | j | |||
) | const [inherited] |
Array<Complex > Array< Complex >::index | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
bool | resize_ok, | |||
const Complex & | rfv = resize_fill_value () | |||
) | const [inherited] |
Array<Complex > Array< Complex >::index | ( | const Array< idx_vector > & | ia, | |
bool | resize_ok, | |||
const Complex & | rfv = resize_fill_value () | |||
) | const [inherited] |
Array<Complex > Array< Complex >::index | ( | const idx_vector & | i, | |
bool | resize_ok, | |||
const Complex & | rfv = resize_fill_value () | |||
) | const [inherited] |
ComplexMatrix & ComplexMatrix::insert | ( | const DiagMatrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 435 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 462 of file CMatrix.cc.
References insert().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexRowVector & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 469 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::elem(), Array< Complex >::elem(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexColumnVector & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 485 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::elem(), Array< T >::length(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
Array<Complex >& Array< Complex >::insert | ( | const Array< Complex > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inherited] |
ComplexMatrix & ComplexMatrix::insert | ( | const RowVector & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 391 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::elem(), Array< T >::length(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexDiagMatrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 507 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 ColumnVector & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 413 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::elem(), Array< T >::length(), Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
Array<Complex >& Array< Complex >::insert | ( | const Array< Complex > & | a, | |
const Array< octave_idx_type > & | idx | |||
) | [inherited] |
ComplexMatrix & ComplexMatrix::insert | ( | const Matrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 367 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), Array< T >::elem(), Array< Complex >::make_unique(), Array< Complex >::rows(), Array< T >::rows(), and Array< Complex >::xelem().
ComplexMatrix ComplexMatrix::inverse | ( | void | ) | const |
Definition at line 959 of file CMatrix.cc.
Referenced by DEFUN_DLD(), inverse(), pseudo_inverse(), and xpow().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 968 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info, | |
double & | rcon, | |||
int | force = 0 , |
|||
int | calc_cond = 1 | |||
) | const |
Definition at line 976 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 984 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info | |||
) | const |
Definition at line 992 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcon, | |||
int | force = 0 , |
|||
int | calc_cond = 1 | |||
) | const |
Definition at line 1137 of file CMatrix.cc.
References Array< Complex >::columns(), ComplexMatrix(), finverse(), ComplexCHOL::inverse(), MatrixType::is_hermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), octave_Inf, ComplexCHOL::rcond(), Array< Complex >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
MArray<Complex > MArray< Complex >::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const [inline, inherited] |
Reimplemented from Array< Complex >.
Definition at line 78 of file MArray.h.
References Array< T >::ipermute().
bool ComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 346 of file CMatrix.cc.
References Array< Complex >::cols(), conj, Array< Complex >::elem(), Array< Complex >::is_square(), and Array< Complex >::rows().
Referenced by EIG::init().
Definition at line 426 of file Array.h.
Referenced by is_hermitian().
octave_idx_type Array< Complex >::length | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 265 of file Array.h.
Referenced by ComplexRowVector::append(), ComplexRowVector::fill(), ComplexColumnVector::fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), ComplexRowVector::max(), ComplexColumnVector::max(), ComplexRowVector::min(), ComplexColumnVector::min(), ComplexRowVector::operator+=(), operator+=(), ComplexColumnVector::operator+=(), ComplexRowVector::operator-=(), operator-=(), ComplexColumnVector::operator-=(), ComplexRowVector::operator==(), operator==(), ComplexColumnVector::operator==(), and ComplexColumnVector::stack().
Array<Complex > Array< Complex >::linear_slice | ( | octave_idx_type | lo, | |
octave_idx_type | up | |||
) | const [inherited] |
Array<octave_idx_type> Array< Complex >::lookup | ( | const Array< Complex > & | values, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
octave_idx_type Array< Complex >::lookup | ( | const Complex & | value, | |
sortmode | mode = UNSORTED | |||
) | const [inherited] |
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
octave_idx_type & | rank, | |||
double & | rcon | |||
) | const |
Definition at line 2600 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), ComplexMatrix(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), max(), real, resize(), Array< T >::resize(), Array< T >::rows(), Array< Complex >::rows(), and xilaenv().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
octave_idx_type & | rank | |||
) | const |
Definition at line 2592 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 2798 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), Array< T >::length(), real, ComplexColumnVector::resize(), Array< T >::resize(), Array< Complex >::rows(), and xilaenv().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b | ) | const |
Definition at line 2543 of file CMatrix.cc.
Referenced by Matrix::lssolve(), lssolve(), and solve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2552 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, | |
octave_idx_type & | info, | |||
octave_idx_type & | rank | |||
) | const |
Definition at line 2560 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 2568 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2575 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2584 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b | ) | const |
Definition at line 2740 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2749 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, | |
octave_idx_type & | info, | |||
octave_idx_type & | rank | |||
) | const |
Definition at line 2757 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 2765 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info, | |||
octave_idx_type & | rank | |||
) | const |
Definition at line 2789 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2781 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2772 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::ltsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcon, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false , |
|||
blas_trans_type | transt = blas_no_trans | |||
) | const [private] |
Definition at line 1978 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), get_blas_char(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, Array< T >::rows(), Array< Complex >::rows(), MatrixType::type(), and xisnan().
Referenced by solve().
Definition at line 109 of file Array.h.
Referenced by ComplexRowVector::fill(), fill(), ComplexColumnVector::fill(), ComplexRowVector::insert(), insert(), and ComplexColumnVector::insert().
Definition at line 443 of file Array.h.
Referenced by ComplexNDArray::matrix_value().
octave_idx_type Array< Complex >::nelem | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 266 of file Array.h.
Referenced by ComplexNDArray::all_integers(), and ComplexNDArray::too_large_for_float().
octave_idx_type Array< Complex >::nnz | ( | void | ) | const [inherited] |
Reimplemented in MDiagArray2< Complex >.
Array<Complex > Array< Complex >::nth_element | ( | const idx_vector & | n, | |
int | dim = 0 | |||
) | const [inherited] |
octave_idx_type Array< Complex >::numel | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 267 of file Array.h.
Referenced by ComplexMatrix(), ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::fourierNd(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), and ComplexNDArray::ifourierNd().
boolMatrix ComplexMatrix::operator! | ( | void | ) | const |
Definition at line 3083 of file CMatrix.cc.
References any_element_is_nan(), and gripe_nan_to_logical_conversion().
bool ComplexMatrix::operator!= | ( | const ComplexMatrix & | a | ) | const |
Definition at line 340 of file CMatrix.cc.
Complex & Array< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Complex & Array< Complex >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
Complex & Array< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
crefT Array< Complex >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
crefT Array< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
crefT Array< Complex >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
Complex & Array< Complex >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< Complex >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
ComplexMatrix & ComplexMatrix::operator+= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 2989 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::elem(), Array< Complex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 2947 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::elem(), Array< Complex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const Matrix & | a | ) |
Definition at line 3033 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), d, Array< T >::data(), Array< Complex >::fortran_vec(), gripe_nonconformant(), Array< Complex >::length(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const DiagMatrix & | a | ) |
Definition at line 2968 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::elem(), Array< Complex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const Matrix & | a | ) |
Definition at line 3057 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), d, Array< T >::data(), Array< Complex >::fortran_vec(), gripe_nonconformant(), Array< Complex >::length(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 3010 of file CMatrix.cc.
References Array< Complex >::cols(), DiagArray2< T >::elem(), Array< Complex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< Complex >::rows().
ComplexMatrix& ComplexMatrix::operator= | ( | const ComplexMatrix & | a | ) | [inline] |
Definition at line 87 of file CMatrix.h.
References MArray< T >::operator=().
bool ComplexMatrix::operator== | ( | const ComplexMatrix & | a | ) | const |
Definition at line 331 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::data(), Array< Complex >::data(), Array< Complex >::length(), mx_inline_equal(), Array< T >::rows(), and Array< Complex >::rows().
bool Array< Complex >::optimize_dimensions | ( | const dim_vector & | dv | ) | [inherited] |
Array<Complex > Array< Complex >::page | ( | octave_idx_type | k | ) | const [inherited] |
octave_idx_type Array< Complex >::pages | ( | void | ) | const [inline, inherited] |
MArray<Complex > MArray< Complex >::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const [inline, inherited] |
Reimplemented from Array< Complex >.
Definition at line 74 of file MArray.h.
References Array< T >::permute().
void Array< Complex >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inherited] |
Reimplemented in DiagArray2< Complex >.
ComplexMatrix ComplexMatrix::prod | ( | int | dim = -1 |
) | const |
Definition at line 3221 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::pseudo_inverse | ( | double | tol = 0.0 |
) | const |
Definition at line 1176 of file CMatrix.cc.
References Array< Complex >::cols(), ComplexMatrix(), DiagMatrix::diag(), SVD::economy, Array< T >::elem(), ColumnVector::extract(), extract(), hermitian(), inverse(), ComplexSVD::left_singular_matrix(), Array< T >::length(), ComplexSVD::right_singular_matrix(), Array< Complex >::rows(), ComplexSVD::singular_values(), and V.
Referenced by DEFUN_DLD().
double ComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1705 of file CMatrix.cc.
Referenced by DEFUN_DLD().
double ComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1712 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), ComplexRowVector::max(), norm(), octave_Inf, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, row(), Array< Complex >::rows(), Matrix::sum(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
MArray<Complex > MArray< Complex >::reshape | ( | const dim_vector & | new_dims | ) | const [inline, inherited] |
Reimplemented from Array< Complex >.
Definition at line 71 of file MArray.h.
References Array< T >::reshape().
Array<Complex > Array< Complex >::reshape | ( | octave_idx_type | nr, | |
octave_idx_type | nc | |||
) | const [inline, inherited] |
void Array< Complex >::resize | ( | octave_idx_type | n | ) | [inline, inherited] |
void ComplexMatrix::resize | ( | octave_idx_type | nr, | |
octave_idx_type | nc, | |||
const Complex & | rfv = resize_fill_value () | |||
) | [inline] |
Reimplemented from Array< Complex >.
Definition at line 154 of file CMatrix.h.
References Array< T >::resize().
Referenced by SparseMatrix::bsolve(), DEFUN_DLD(), do_bessel(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), EIG::init(), ComplexSVD::init(), ComplexQRP::init(), ComplexQR::init(), ComplexCHOL::init(), lssolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), qrsolve(), SparseMatrix::utsolve(), and SparseComplexMatrix::utsolve().
void Array< Complex >::resize | ( | const dim_vector & | dv, | |
const Complex & | rfv = resize_fill_value () | |||
) | [inherited] |
void Array< Complex >::resize1 | ( | octave_idx_type | n, | |
const Complex & | rfv = resize_fill_value () | |||
) | [inherited] |
static Complex ComplexMatrix::resize_fill_value | ( | void | ) | [inline, static] |
Reimplemented from Array< Complex >.
ComplexRowVector ComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 947 of file CMatrix.cc.
References idx_vector::colon, and Array< Complex >::index().
Referenced by DEFUN_DLD(), NDArray::fourier2d(), ComplexNDArray::fourier2d(), NDArray::fourierNd(), ComplexNDArray::fourierNd(), NDArray::ifourier2d(), ComplexNDArray::ifourier2d(), NDArray::ifourierNd(), ComplexNDArray::ifourierNd(), and rcond().
bool ComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 3250 of file CMatrix.cc.
References Array< Complex >::columns(), Array< Complex >::elem(), and imag().
ComplexColumnVector ComplexMatrix::row_max | ( | void | ) | const |
Definition at line 3362 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3369 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real, Array< T >::resize(), ComplexColumnVector::resize(), row_is_real_only(), Array< Complex >::rows(), and xisnan().
ComplexColumnVector ComplexMatrix::row_min | ( | void | ) | const |
Definition at line 3288 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3295 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real, Array< T >::resize(), ComplexColumnVector::resize(), row_is_real_only(), Array< Complex >::rows(), and xisnan().
octave_idx_type Array< Complex >::rows | ( | void | ) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
Definition at line 303 of file Array.h.
Referenced by all_integers(), append(), column_is_real_only(), column_max(), column_min(), ComplexMatrix(), determinant(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), inverse(), is_hermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), too_large_for_float(), and utsolve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2281 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2406 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
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 2382 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 2482 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 2534 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 2398 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b | |||
) | const |
Definition at line 2359 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2490 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2512 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2375 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b | |||
) | const |
Definition at line 2390 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 2424 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b | |||
) | const |
Definition at line 2297 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 2474 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2453 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 2273 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 2504 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b | |||
) | const |
Definition at line 2265 of file CMatrix.cc.
Referenced by Matrix::solve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2468 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 2305 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2313 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2497 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2439 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 2445 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2432 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2520 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
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 2288 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 2367 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcon | |||
) | const |
Definition at line 2527 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, | |
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 2413 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, | |
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 2320 of file CMatrix.cc.
References blas_conj_trans, blas_trans, ComplexMatrix(), fsolve(), MatrixType::Full, MatrixType::Hermitian, 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 | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 2461 of file CMatrix.cc.
References solve().
Referenced by ComplexSCHUR::init().
Array<Complex > Array< Complex >::sort | ( | Array< octave_idx_type > & | sidx, | |
int | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Array<octave_idx_type> Array< Complex >::sort_rows_idx | ( | sortmode | mode = ASCENDING |
) | const [inherited] |
Reimplemented from Array< Complex >.
Reimplemented in ComplexNDArray.
Definition at line 81 of file MArray.h.
References Array< T >::squeeze().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexMatrix & | a | ) | const |
Definition at line 846 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const DiagMatrix & | a | ) | const |
Definition at line 827 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const Matrix & | a | ) | const |
Definition at line 770 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ColumnVector & | a | ) | const |
Definition at line 808 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 903 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 884 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexRowVector & | a | ) | const |
Definition at line 865 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const RowVector & | a | ) | const |
Definition at line 789 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::sum | ( | int | dim = -1 |
) | const |
Definition at line 3227 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::sumsq | ( | int | dim = -1 |
) | const |
Definition at line 3233 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::tinverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcon, | |||
int | force, | |||
int | calc_cond | |||
) | const [private] |
Definition at line 999 of file CMatrix.cc.
References Array< Complex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, Array< Complex >::rows(), and MatrixType::type().
Referenced by inverse().
bool ComplexMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 3170 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::elem(), imag(), real, Array< Complex >::rows(), xisinf(), and xisnan().
Referenced by octave_complex_diag_matrix::save_binary().
ComplexMatrix ComplexMatrix::transpose | ( | void | ) | const [inline] |
Reimplemented from MArray< Complex >.
Definition at line 137 of file CMatrix.h.
References MArray< T >::transpose().
Referenced by DEFUN_DLD(), do_sqrtm(), read_mat_binary_data(), solve(), and xdiv().
ComplexMatrix ComplexMatrix::utsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcon, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false , |
|||
blas_trans_type | transt = blas_no_trans | |||
) | const [private] |
Definition at line 1877 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), get_blas_char(), norm(), MatrixType::Permuted_Upper, Array< T >::rows(), Array< Complex >::rows(), MatrixType::type(), MatrixType::Upper, and xisnan().
Referenced by solve().
crefT Array< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
Reimplemented in DiagArray2< Complex >.
crefT Array< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | const [inline, inherited] |
crefT Array< Complex >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
Complex & Array< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j, | |||
octave_idx_type | k | |||
) | [inline, inherited] |
Complex & Array< Complex >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
Complex & Array< Complex >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
crefT Array< Complex >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
Complex & Array< Complex >::xelem | ( | octave_idx_type | n | ) | [inline, inherited] |
Definition at line 327 of file Array.h.
Referenced by ComplexMatrix(), ComplexNDArray::ComplexNDArray(), ComplexRowVector::fill(), fill(), ComplexColumnVector::fill(), ComplexRowVector::insert(), insert(), and ComplexColumnVector::insert().
OCTAVE_API ComplexMatrix conj | ( | const ComplexMatrix & | a | ) | [friend] |
Definition at line 922 of file CMatrix.cc.
Referenced by is_hermitian().
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const ComplexMatrix & | a | |||
) | [friend] |
Definition at line 3586 of file CMatrix.cc.
OCTAVE_API std::istream& operator>> | ( | std::istream & | is, | |
ComplexMatrix & | a | |||
) | [friend] |
Definition at line 3601 of file CMatrix.cc.
dim_vector Array< Complex >::dimensions [protected, inherited] |
Definition at line 132 of file Array.h.
Referenced by ComplexNDArray::insert().
Complex * Array< Complex >::slice_data [protected, inherited] |
octave_idx_type Array< Complex >::slice_len [protected, inherited] |