GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "CMatrix.h"
Public Types | |
typedef ComplexColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type )(typename ref_param< Complex >::type, typename ref_param< Complex >::type) |
typedef ref_param< Complex >::type | crefT |
typedef Complex | element_type |
typedef ComplexRowVector | row_vector_type |
typedef void(* | solve_singularity_handler )(double rcon) |
Static Public Member Functions | |
static Array< Complex > | cat (int dim, octave_idx_type n, const Array< Complex > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
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) |
Protected Attributes | |
dim_vector | dimensions |
Array< Complex >::ArrayRep * | rep |
Complex * | slice_data |
octave_idx_type | slice_len |
Private Member Functions | |
ComplexMatrix | finverse (MatrixType &mattype, octave_idx_type &info, double &rcon, int force, int calc_cond) const |
ComplexMatrix | fsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const |
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 |
ComplexMatrix | tinverse (MatrixType &mattype, octave_idx_type &info, double &rcon, int force, int calc_cond) const |
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 |
Friends | |
OCTAVE_API ComplexMatrix | conj (const ComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const ComplexMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, ComplexMatrix &a) |
typedef void(* ComplexMatrix::solve_singularity_handler)(double rcon) |
|
inline |
Definition at line 47 of file CMatrix.h.
Referenced by inverse(), lssolve(), max(), min(), operator*(), pseudo_inverse(), solve(), and xgemm().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 352 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, Array< Complex >::numel(), Array< Complex >::rows(), Array< T >::rows(), and Array< Complex >::xelem().
|
explicit |
Definition at line 270 of file CMatrix.cc.
|
explicit |
Definition at line 275 of file CMatrix.cc.
|
explicit |
Definition at line 280 of file CMatrix.cc.
|
explicit |
Definition at line 285 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 292 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 299 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 306 of file CMatrix.cc.
|
explicit |
Definition at line 311 of file CMatrix.cc.
|
explicit |
Definition at line 316 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 323 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 330 of file CMatrix.cc.
References DiagArray2< T >::elem(), Array< Complex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 339 of file CMatrix.cc.
|
explicit |
Definition at line 344 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 3161 of file CMatrix.cc.
References ComplexNDArray::abs().
Referenced by SparseComplexMatrix::bsolve(), finverse(), fsolve(), and rcond().
boolMatrix ComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 3119 of file CMatrix.cc.
References ComplexNDArray::all().
|
inherited |
Definition at line 526 of file CNDArray.cc.
References mx_inline_all_real().
Referenced by octave_complex_matrix::bool_array_value(), and octave_complex_matrix::try_narrowing_conversion().
Definition at line 536 of file CNDArray.cc.
References D_NINT(), Array< Complex >::elem(), imag(), Array< Complex >::nelem(), and real().
Referenced by octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), and octave_complex_matrix::save_hdf5().
boolMatrix ComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 3125 of file CMatrix.cc.
References ComplexNDArray::any().
|
inherited |
Definition at line 518 of file CNDArray.cc.
References mx_inline_all_finite().
Referenced by Fsvd(), EIG::init(), and set_format().
|
inherited |
Definition at line 512 of file CNDArray.cc.
References mx_inline_any_nan().
Referenced by octave_complex_matrix::bool_array_value(), and ComplexNDArray::operator!().
ComplexMatrix ComplexMatrix::append | ( | const Matrix & | a | ) | const |
Definition at line 667 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), insert(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const RowVector & | a | ) | const |
Definition at line 685 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ColumnVector & | a | ) | const |
Definition at line 703 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 721 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), insert(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexMatrix & | a | ) | const |
Definition at line 739 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), insert(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexRowVector & | a | ) | const |
Definition at line 757 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 775 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 793 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), insert(), DiagArray2< T >::rows(), and Array< Complex >::rows().
|
inherited |
Indexed assignment (always with resize & fill).
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
staticinherited |
Concatenation along a specified (0-based) dimension, equivalent to cat().
dim = -1 corresponds to dim = 0 and dim = -2 corresponds to dim = 1, but apply the looser matching rules of vertcat/horzcat.
|
inlineinherited |
Definition at line 145 of file CNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 321 of file Array.h.
Referenced by append(), column_max(), column_min(), ComplexMatrix(), determinant(), diag(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), is_hermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
ComplexColumnVector ComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 996 of file CMatrix.cc.
References idx_vector::colon, and Array< Complex >::index().
Referenced by ComplexQR::insert_col(), solve(), SparseComplexMatrix::solve(), ComplexQR::update(), ComplexLU::update(), and ComplexLU::update_piv().
bool ComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 3209 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 3453 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3460 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real(), ComplexRowVector::resize(), Array< T >::resize(), Array< Complex >::rows(), and xisnan().
ComplexRowVector ComplexMatrix::column_min | ( | void | ) | const |
Definition at line 3378 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3385 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real(), ComplexRowVector::resize(), Array< T >::resize(), Array< Complex >::rows(), and xisnan().
|
inlineinherited |
Definition at line 322 of file Array.h.
Referenced by inverse(), and row_is_real_only().
|
staticinherited |
Definition at line 827 of file CNDArray.cc.
References compute_index().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 646 of file CNDArray.cc.
References ComplexNDArray::insert(), and Array< T >::numel().
|
inherited |
Definition at line 655 of file CNDArray.cc.
References ComplexNDArray::insert(), and Array< T >::numel().
|
inherited |
Definition at line 699 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 705 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 711 of file CNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 717 of file CNDArray.cc.
References mx_inline_cummin().
ComplexMatrix ComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 3131 of file CMatrix.cc.
References ComplexNDArray::cumprod().
ComplexMatrix ComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 3137 of file CMatrix.cc.
References ComplexNDArray::cumsum().
Definition at line 479 of file Array.h.
Referenced by fourier(), fourier2d(), ifourier(), ifourier2d(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), and operator==().
|
inherited |
Deleting elements.
A(I) = [] (with a single subscript)
|
inherited |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)
|
inherited |
Dispatcher to the above two.
ComplexDET ComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1590 of file CMatrix.cc.
Referenced by determinant(), and Fdet().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1598 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcon, | ||
int | calc_cond = 1 |
||
) | const |
Definition at line 1605 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 1613 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 |
Definition at line 3167 of file CMatrix.cc.
References ComplexNDArray::diag().
Referenced by octave_complex_matrix::diag().
ComplexDiagMatrix ComplexMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 3173 of file CMatrix.cc.
References Array< Complex >::cols(), current_liboctave_error_handler, and Array< Complex >::rows().
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a const-reference so that dims ()(i) works efficiently.
Definition at line 337 of file Array.h.
Referenced by ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::fourierNd(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), and ComplexNDArray::ifourierNd().
|
inlineinherited |
Definition at line 380 of file Array.h.
Referenced by ComplexNDArray::all_integers(), column_is_real_only(), column_max(), column_min(), ComplexMatrix(), determinant(), ComplexRowVector::extract(), ComplexColumnVector::extract(), ComplexRowVector::extract_n(), ComplexColumnVector::extract_n(), ComplexNDArray::insert(), insert(), is_hermitian(), ComplexRowVector::max(), ComplexColumnVector::max(), ComplexRowVector::min(), ComplexColumnVector::min(), operator+=(), operator-=(), row_is_real_only(), row_max(), and row_min().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix ComplexMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 971 of file CMatrix.cc.
References Array< Complex >::index().
Referenced by Fdlmread(), and pseudo_inverse().
ComplexMatrix ComplexMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 981 of file CMatrix.cc.
References Array< Complex >::index().
ComplexMatrix & ComplexMatrix::fill | ( | double | val | ) |
Definition at line 573 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 | ) |
Definition at line 591 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 609 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), r2, Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::fill | ( | const Complex & | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 638 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::make_unique(), r2, Array< Complex >::rows(), and Array< Complex >::xelem().
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
|
private |
Definition at line 1099 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().
Definition at line 481 of file Array.h.
Referenced by ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::fourierNd(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), ComplexNDArray::ifourierNd(), ltsolve(), ComplexRowVector::operator+=(), ComplexColumnVector::operator+=(), operator+=(), ComplexRowVector::operator-=(), ComplexColumnVector::operator-=(), operator-=(), rcond(), and utsolve().
|
inherited |
Definition at line 59 of file CNDArray.cc.
References Array< Complex >::dims(), octave_fftw::fft(), Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), dim_vector::length(), and Array< Complex >::numel().
Referenced by do_fft().
ComplexMatrix ComplexMatrix::fourier | ( | void | ) | const |
Definition at line 1263 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave_fftw::fft(), Array< T >::fortran_vec(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1321 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave_fftw::fftNd(), Array< T >::fortran_vec(), and Array< Complex >::rows().
|
inherited |
Definition at line 161 of file CNDArray.cc.
References Array< Complex >::dims(), octave_fftw::fftNd(), Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), and dim_vector::length().
Referenced by do_fftn().
|
private |
Definition at line 2112 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, gripe_singular_matrix(), 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().
|
inlineinherited |
Definition at line 86 of file MArray.h.
References Array< T >::hermitian().
|
inline |
Definition at line 149 of file CMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by Fqz(), ComplexSVD::init(), LuAminusSigmaB(), make_cholb(), pseudo_inverse(), SparseComplexQR::SparseComplexQR_rep::Q(), solve(), Sylvester(), and xdiv().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 90 of file CNDArray.cc.
References Array< Complex >::dims(), Array< Complex >::fortran_vec(), Array< T >::fortran_vec(), octave_fftw::ifft(), dim_vector::length(), and Array< Complex >::numel().
Referenced by do_fft().
ComplexMatrix ComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1292 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), Array< T >::fortran_vec(), octave_fftw::ifft(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1335 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), Array< T >::fortran_vec(), octave_fftw::ifftNd(), and Array< Complex >::rows().
|
inherited |
Definition at line 176 of file CNDArray.cc.
References Array< Complex >::dims(), Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), octave_fftw::ifftNd(), and dim_vector::length().
Referenced by do_fftn().
|
staticinherited |
Definition at line 819 of file CNDArray.cc.
Referenced by ComplexNDArray::insert().
|
inherited |
Indexing without resizing.
Referenced by column(), extract(), extract_n(), and row().
|
inherited |
|
inherited |
Indexing with possible resizing and fill.
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
Definition at line 753 of file CNDArray.cc.
References current_liboctave_error_handler, Array< Complex >::dimensions, Array< T >::dims(), Array< T >::elem(), Array< Complex >::elem(), ComplexNDArray::increment_index(), dim_vector::length(), Array< T >::numel(), and ra_idx.
Referenced by ComplexNDArray::concat(), NDArray::concat(), concat(), and insert().
|
inherited |
Definition at line 803 of file CNDArray.cc.
References Array< T >::insert().
|
inherited |
Definition at line 811 of file CNDArray.cc.
References Array< T >::insert().
ComplexMatrix & ComplexMatrix::insert | ( | const Matrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 400 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), Array< T >::elem(), Array< Complex >::make_unique(), Array< T >::rows(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const RowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 424 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 ColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 446 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 DiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 469 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< Complex >::make_unique(), DiagArray2< T >::rows(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 497 of file CMatrix.cc.
References ComplexNDArray::insert().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 505 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 522 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 545 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< Complex >::make_unique(), DiagArray2< T >::rows(), Array< Complex >::rows(), and Array< Complex >::xelem().
|
inherited |
Insert an array into another at a specified position.
If size (a) is [d1 d2 ... dN] and idx is [i1 i2 ... iN], this method is equivalent to x(i1:i1+d1-1, i2:i2+d2-1, ... , iN:iN+dN-1) = a.
|
inherited |
This is just a special case for idx = [r c 0 ...].
ComplexMatrix ComplexMatrix::inverse | ( | void | ) | const |
Definition at line 1002 of file CMatrix.cc.
Referenced by Finv(), inverse(), pseudo_inverse(), and xpow().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 1011 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 1019 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 1027 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 1035 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 1181 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.
|
inlineinherited |
Definition at line 78 of file MArray.h.
References Array< T >::ipermute().
bool ComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 379 of file CMatrix.cc.
References Array< Complex >::cols(), conj, Array< Complex >::elem(), Array< Complex >::is_square(), and Array< Complex >::rows().
Referenced by EIG::init().
Ordering is auto-detected or can be specified.
Ordering is auto-detected or can be specified.
Definition at line 470 of file Array.h.
Referenced by is_hermitian().
|
inherited |
Definition at line 741 of file CNDArray.cc.
|
inherited |
Definition at line 735 of file CNDArray.cc.
|
inherited |
Definition at line 729 of file CNDArray.cc.
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with capacity(), nelem(), and numel().
length
() at the Octave interpreter. At the Octave interpreter, the function length
() returns the length of the greatest dimension. This method returns the total number of elements. Definition at line 267 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+=(), ComplexColumnVector::operator+=(), operator+=(), ComplexRowVector::operator-=(), ComplexColumnVector::operator-=(), operator-=(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), operator==(), and ComplexColumnVector::stack().
|
inherited |
Extract a slice from this array as a column vector: A(:)(lo+1:up).
Must be 0 <= lo && up <= numel. May be up < lo.
|
inherited |
Do a binary lookup in a sorted array.
Must not contain NaNs. Mode can be specified or is auto-detected by comparing 1st and last element.
|
inherited |
Ditto, but for an array of values, specializing on the case when values are sorted.
NaNs get the value N.
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b | ) | const |
Definition at line 2583 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 2592 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2600 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 2608 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2615 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2624 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2632 of file CMatrix.cc.
References lssolve().
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2640 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::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(), xilaenv(), and xlog2().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b | ) | const |
Definition at line 2778 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2787 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2795 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 2803 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2810 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2819 of file CMatrix.cc.
References lssolve().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2828 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 2837 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::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(), xilaenv(), and xlog2().
|
private |
Definition at line 2017 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< Complex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), gripe_singular_matrix(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, Array< Complex >::rows(), Array< T >::rows(), MatrixType::type(), and xisnan().
Referenced by solve().
Definition at line 104 of file Array.h.
Referenced by ComplexRowVector::fill(), ComplexColumnVector::fill(), fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), and insert().
|
inherited |
Definition at line 675 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 681 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 687 of file CNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 693 of file CNDArray.cc.
References mx_inline_min().
|
inlineinherited |
Number of elements in the array.
Synonymous with capacity(), length(), and numel().
Definition at line 271 of file Array.h.
Referenced by ComplexNDArray::all_integers().
|
inherited |
Count nonzero elements.
Returns the n-th element in increasing order, using the same ordering as used for sort.
n can either be a scalar index or a contiguous range.
|
inlineinherited |
Number of elements in the array.
Synonymous with capacity(), length(), and nelem().
Definition at line 275 of file Array.h.
Referenced by ComplexMatrix(), ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::ifourier(), and ComplexNDArray::ifourier2d().
|
inherited |
Definition at line 501 of file CNDArray.cc.
References ComplexNDArray::any_element_is_nan(), gripe_nan_to_logical_conversion(), and mx_inline_not().
bool ComplexMatrix::operator!= | ( | const ComplexMatrix & | a | ) | const |
Definition at line 373 of file CMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix & ComplexMatrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 2983 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 ComplexDiagMatrix & | a | ) |
Definition at line 3025 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 3069 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), d, Array< T >::data(), Array< Complex >::fortran_vec(), gripe_nonconformant(), Array< Complex >::length(), mx_inline_add2(), Array< T >::rows(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const DiagMatrix & | a | ) |
Definition at line 3004 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 ComplexDiagMatrix & | a | ) |
Definition at line 3046 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 3093 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), d, Array< T >::data(), Array< Complex >::fortran_vec(), gripe_nonconformant(), Array< Complex >::length(), mx_inline_sub2(), Array< T >::rows(), and Array< Complex >::rows().
bool ComplexMatrix::operator== | ( | const ComplexMatrix & | a | ) | const |
Definition at line 364 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), Array< T >::data(), Array< Complex >::data(), Array< Complex >::length(), mx_inline_equal(), Array< Complex >::rows(), and Array< T >::rows().
|
inherited |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv.
This is useful for maintaining several arrays with supposedly equal dimensions (e.g. structs in the interpreter).
|
inherited |
Extract page: A(:,:,k+1).
|
inlineinherited |
|
inlineinherited |
Definition at line 74 of file MArray.h.
References Array< T >::permute().
ComplexMatrix ComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 3143 of file CMatrix.cc.
References ComplexNDArray::prod().
ComplexMatrix ComplexMatrix::pseudo_inverse | ( | double | tol = 0.0 | ) | const |
Definition at line 1220 of file CMatrix.cc.
References Array< Complex >::cols(), ComplexMatrix(), SVD::economy, Array< T >::elem(), ColumnVector::extract(), extract(), DiagMatrix::extract_diag(), hermitian(), inverse(), ComplexSVD::left_singular_matrix(), Array< T >::length(), ComplexSVD::right_singular_matrix(), Array< Complex >::rows(), ComplexSVD::singular_values(), and V.
Referenced by Fpinv().
double ComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1750 of file CMatrix.cc.
Referenced by Frcond(), ltsolve(), LuAminusSigmaB(), lusolve(), and utsolve().
double ComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1757 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< Complex >::fortran_vec(), Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), ComplexRowVector::max(), norm(), octave_Inf, octave_NaN, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, row(), Array< Complex >::rows(), Matrix::sum(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
Definition at line 71 of file MArray.h.
References Array< T >::reshape().
|
inlineinherited |
|
inline |
Definition at line 170 of file CMatrix.h.
References Array< T >::resize().
Referenced by SparseMatrix::bsolve(), ComplexQR::delete_col(), ComplexQR::delete_row(), ComplexCHOL::delete_sym(), do_bessel(), SparseMatrix::dsolve(), SparseComplexMatrix::dsolve(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), Fdlmread(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), ComplexQR::init(), ComplexQRP::init(), ComplexSVD::init(), ComplexCHOL::init(), EIG::init(), ComplexQR::insert_col(), ComplexQR::insert_row(), ComplexCHOL::insert_sym(), lssolve(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), qrsolve(), SparseMatrix::utsolve(), and SparseComplexMatrix::utsolve().
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Resizing (with fill).
|
inlineinherited |
ComplexRowVector ComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 990 of file CMatrix.cc.
References idx_vector::colon, and Array< Complex >::index().
Referenced by Gqrinsert(), and rcond().
bool ComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 3190 of file CMatrix.cc.
References Array< Complex >::columns(), Array< Complex >::elem(), and imag().
ComplexColumnVector ComplexMatrix::row_max | ( | void | ) | const |
Definition at line 3303 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3310 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real(), ComplexColumnVector::resize(), Array< T >::resize(), row_is_real_only(), Array< Complex >::rows(), and xisnan().
ComplexColumnVector ComplexMatrix::row_min | ( | void | ) | const |
Definition at line 3228 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3235 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), octave_NaN, real(), ComplexColumnVector::resize(), Array< T >::resize(), row_is_real_only(), Array< Complex >::rows(), and xisnan().
|
inlineinherited |
Definition at line 313 of file Array.h.
Referenced by append(), column_is_real_only(), column_max(), column_min(), ComplexMatrix(), determinant(), diag(), 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(), and utsolve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b | ||
) | const |
Definition at line 2294 of file CMatrix.cc.
Referenced by Matrix::solve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2302 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2310 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 2317 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 2326 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2334 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2342 of file CMatrix.cc.
References solve().
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 2349 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().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b | ||
) | const |
Definition at line 2390 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2398 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | 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 2413 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 2422 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2430 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2438 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 2445 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 2457 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2465 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2472 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 2479 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2488 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2496 of file CMatrix.cc.
References solve().
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2503 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 2510 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 2520 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2528 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2535 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 2542 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2551 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2559 of file CMatrix.cc.
References solve().
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2566 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 2573 of file CMatrix.cc.
References solve().
Referenced by FloatComplexSCHUR::init().
|
inherited |
Sort by rows returns only indices.
|
inlineinherited |
Definition at line 122 of file CNDArray.h.
References MArray< T >::squeeze().
ComplexMatrix ComplexMatrix::stack | ( | const Matrix & | a | ) | const |
Definition at line 811 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), insert(), Array< Complex >::rows(), and Array< T >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const RowVector & | a | ) | const |
Definition at line 830 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ColumnVector & | a | ) | const |
Definition at line 849 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const DiagMatrix & | a | ) | const |
Definition at line 868 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), insert(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexMatrix & | a | ) | const |
Definition at line 887 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), insert(), Array< Complex >::rows(), and Array< T >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexRowVector & | a | ) | const |
Definition at line 906 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 925 of file CMatrix.cc.
References Array< Complex >::cols(), insert(), Array< T >::length(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 944 of file CMatrix.cc.
References DiagArray2< T >::cols(), Array< Complex >::cols(), insert(), DiagArray2< T >::rows(), and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 3149 of file CMatrix.cc.
References ComplexNDArray::sum().
ComplexMatrix ComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 3155 of file CMatrix.cc.
References ComplexNDArray::sumsq().
Simpler calls.
Definition at line 710 of file Array.h.
Referenced by ComplexNDArray::too_large_for_float().
|
private |
Definition at line 1042 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().
|
inherited |
Definition at line 586 of file CNDArray.cc.
References Array< Complex >::test_any(), and xtoo_large_for_float().
Referenced by octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), and octave_complex_matrix::save_hdf5().
|
inline |
Definition at line 151 of file CMatrix.h.
References MArray< T >::transpose().
Referenced by do_sqrtm(), Gchol(), read_mat_binary_data(), solve(), and xdiv().
|
private |
Definition at line 1922 of file CMatrix.cc.
References Array< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< Complex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), gripe_singular_matrix(), norm(), MatrixType::Permuted_Upper, Array< Complex >::rows(), Array< T >::rows(), MatrixType::type(), MatrixType::Upper, and xisnan().
Referenced by solve().
|
inlineinherited |
Definition at line 353 of file Array.h.
Referenced by ComplexMatrix(), ComplexNDArray::ComplexNDArray(), ComplexRowVector::fill(), ComplexColumnVector::fill(), fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), and insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
friend |
Definition at line 963 of file CMatrix.cc.
Referenced by is_hermitian().
|
friend |
Definition at line 3530 of file CMatrix.cc.
|
friend |
Definition at line 3545 of file CMatrix.cc.
|
protectedinherited |
Definition at line 127 of file Array.h.
Referenced by ComplexNDArray::insert().
|
protectedinherited |