#include "CMatrix.h"
Public Types | |
typedef ComplexColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type) (typename ref_param< Complex >::type, typename ref_param< Complex >::type) |
typedef ComplexDiagMatrix | complex_diag_matrix_type |
typedef Complex | complex_elt_type |
typedef ComplexMatrix | complex_matrix_type |
typedef ref_param< Complex >::type | crefT |
typedef Complex | element_type |
typedef ColumnVector | real_column_vector_type |
typedef DiagMatrix | real_diag_matrix_type |
typedef double | real_elt_type |
typedef Matrix | real_matrix_type |
typedef RowVector | real_row_vector_type |
typedef ComplexRowVector | row_vector_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef void(* | solve_singularity_handler) (double rcon) |
typedef Complex | value_type |
Static Public Member Functions | |
static 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, bool force, bool calc_cond) const |
ComplexMatrix | fsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | ltsolve (MatrixType &mattype, 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, bool force, bool calc_cond) const |
ComplexMatrix | utsolve (MatrixType &mattype, 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 double ComplexMatrix::real_elt_type |
|
inherited |
typedef void(* ComplexMatrix::solve_singularity_handler) (double rcon) |
|
inline |
Definition at line 60 of file CMatrix.h.
Referenced by fsolve(), inverse(), lssolve(), ltsolve(), operator*(), pseudo_inverse(), utsolve(), and xgemm().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 146 of file CMatrix.cc.
References Array< T >::cols(), Array< Complex >::cols(), current_liboctave_error_handler, i, Array< Complex >::numel(), Array< Complex >::rows(), Array< T >::rows(), and Array< Complex >::xelem().
|
explicit |
Definition at line 70 of file CMatrix.cc.
|
explicit |
Definition at line 74 of file CMatrix.cc.
|
explicit |
Definition at line 78 of file CMatrix.cc.
|
explicit |
Definition at line 82 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 89 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 96 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 103 of file CMatrix.cc.
|
explicit |
Definition at line 107 of file CMatrix.cc.
|
explicit |
Definition at line 111 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 118 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 125 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
|
explicit |
Definition at line 134 of file CMatrix.cc.
|
explicit |
Definition at line 138 of file CMatrix.cc.
References a, Array< Complex >::elem(), and i.
Matrix ComplexMatrix::abs | ( | void | ) | const |
Definition at line 2993 of file CMatrix.cc.
References ComplexNDArray::abs().
Referenced by SparseComplexMatrix::bsolve().
boolMatrix ComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2951 of file CMatrix.cc.
References ComplexNDArray::all().
|
inherited |
Definition at line 514 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 524 of file CNDArray.cc.
References Array< Complex >::elem(), i, Array< Complex >::numel(), val, and octave::math::x_nint().
Referenced by octave_complex_diag_matrix::save_binary(), octave_complex_matrix::save_binary(), and octave_complex_matrix::save_hdf5().
boolMatrix ComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2957 of file CMatrix.cc.
References ComplexNDArray::any().
|
inherited |
Definition at line 506 of file CNDArray.cc.
References mx_inline_all_finite().
|
inherited |
Definition at line 500 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 434 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const RowVector & | a | ) | const |
Definition at line 449 of file CMatrix.cc.
References a, Array< Complex >::cols(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ColumnVector & | a | ) | const |
Definition at line 464 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const DiagMatrix & | a | ) | const |
Definition at line 479 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexMatrix & | a | ) | const |
Definition at line 494 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexRowVector & | a | ) | const |
Definition at line 509 of file CMatrix.cc.
References a, Array< Complex >::cols(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 524 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::append | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 539 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 146 of file CNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 412 of file Array.h.
Referenced by append(), column_max(), column_min(), ComplexMatrix(), determinant(), diag(), fill(), finverse(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), ishermitian(), 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 707 of file CMatrix.cc.
References idx_vector::colon, i, and Array< Complex >::index().
Referenced by SparseComplexMatrix::solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
bool ComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 3036 of file CMatrix.cc.
References Array< Complex >::elem(), i, imag(), retval, and Array< Complex >::rows().
Referenced by column_max(), and column_min().
ComplexRowVector ComplexMatrix::column_max | ( | void | ) | const |
Definition at line 3280 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3287 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), i, octave::math::isnan(), NaN(), Array< T >::resize(), result, Array< Complex >::rows(), and tmp.
ComplexRowVector ComplexMatrix::column_min | ( | void | ) | const |
Definition at line 3205 of file CMatrix.cc.
ComplexRowVector ComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3212 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), column_is_real_only(), Complex_NaN_result(), Array< T >::elem(), Array< Complex >::elem(), i, octave::math::isnan(), NaN(), Array< T >::resize(), result, Array< Complex >::rows(), and tmp.
|
inlineinherited |
Definition at line 413 of file Array.h.
Referenced by inverse(), and row_is_real_only().
|
staticinherited |
Definition at line 812 of file CNDArray.cc.
References compute_index(), Array< Complex >::dimensions, and ra_idx.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 635 of file CNDArray.cc.
References ComplexNDArray::insert(), Array< T >::numel(), and ra_idx.
|
inherited |
Definition at line 644 of file CNDArray.cc.
References ComplexNDArray::insert(), Array< T >::numel(), ra_idx, and tmp.
|
inherited |
Definition at line 689 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 695 of file CNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 701 of file CNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 707 of file CNDArray.cc.
References mx_inline_cummin().
ComplexMatrix ComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2963 of file CMatrix.cc.
References ComplexNDArray::cumprod().
ComplexMatrix ComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2969 of file CMatrix.cc.
References ComplexNDArray::cumsum().
Definition at line 582 of file Array.h.
Referenced by fourier(), fourier2d(), ifourier(), ifourier2d(), ComplexRowVector::operator==(), ComplexColumnVector::operator==(), and operator==().
|
inherited |
|
inherited |
|
inherited |
ComplexDET ComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1340 of file CMatrix.cc.
Referenced by determinant(), and Fdet().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1348 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1355 of file CMatrix.cc.
References determinant().
ComplexDET ComplexMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1363 of file CMatrix.cc.
References c, Array< Complex >::cols(), Array< Complex >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, i, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), norm1(), MatrixType::Rectangular, retval, Array< Complex >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
ComplexMatrix ComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2999 of file CMatrix.cc.
References ComplexNDArray::diag(), and k.
Referenced by octave_complex_matrix::diag().
ComplexDiagMatrix ComplexMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 3005 of file CMatrix.cc.
References Array< Complex >::cols(), and Array< Complex >::rows().
|
inherited |
Definition at line 629 of file CNDArray.cc.
References mx_inline_diff().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a const-reference so that dims ()(i) works efficiently.
Definition at line 442 of file Array.h.
Referenced by ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::fourierNd(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), and ComplexNDArray::ifourierNd().
|
inlineinherited |
Definition at line 488 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(), ishermitian(), 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 682 of file CMatrix.cc.
References Array< Complex >::index(), and swap.
Referenced by 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 692 of file CMatrix.cc.
References Array< Complex >::index().
ComplexMatrix & ComplexMatrix::fill | ( | double | val | ) |
Definition at line 346 of file CMatrix.cc.
References Array< Complex >::cols(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), val, and Array< Complex >::xelem().
Referenced by insert().
ComplexMatrix & ComplexMatrix::fill | ( | const Complex & | val | ) |
Definition at line 364 of file CMatrix.cc.
References Array< Complex >::cols(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), val, 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 382 of file CMatrix.cc.
References Array< Complex >::cols(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), swap, val, 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 408 of file CMatrix.cc.
References Array< Complex >::cols(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), swap, val, and Array< Complex >::xelem().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
private |
Definition at line 835 of file CMatrix.cc.
References Array< Complex >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_rectangular(), norm1(), real(), Array< T >::resize(), retval, and Array< Complex >::rows().
Referenced by inverse().
Definition at line 584 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 56 of file CNDArray.cc.
References Array< Complex >::dims(), dv, octave::fftw::fft(), Array< Complex >::fortran_vec(), i, k, dim_vector::ndims(), Array< Complex >::numel(), and retval.
Referenced by do_fft().
ComplexMatrix ComplexMatrix::fourier | ( | void | ) | const |
Definition at line 1020 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave::fftw::fft(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1078 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), dv, octave::fftw::fftNd(), retval, and Array< Complex >::rows().
|
inherited |
Definition at line 158 of file CNDArray.cc.
References Array< Complex >::dims(), dv, octave::fftw::fftNd(), Array< Complex >::fortran_vec(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
private |
Definition at line 1887 of file CMatrix.cc.
References b, b_nc, b_nr, Array< Complex >::cols(), ComplexMatrix(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_full(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), norm1(), result, retval, Array< Complex >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
Definition at line 106 of file MArray.h.
References fcn, and Array< T >::hermitian().
|
inline |
Definition at line 166 of file CMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by Fqz(), make_cholb(), oct_unop_hermitian(), pseudo_inverse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), solve(), and Sylvester().
|
inherited |
Performs indexed accumulative addition.
Definition at line 54 of file MArray.cc.
References idx_vector::extent(), idx_vector::length(), idx_vector::loop(), numel(), and val.
|
inherited |
Performs indexed accumulative addition.
Definition at line 72 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), idx_vector::length(), idx_vector::loop(), min(), numel(), and Array< T >::numel().
|
inherited |
Definition at line 140 of file MArray.cc.
References Array< T >::data(), Array< T >::dims(), idx_vector::extent(), dim_vector::first_non_singleton(), Array< T >::fortran_vec(), get_extent_triplet(), i, k, idx_vector::length(), idx_vector::loop(), max(), mx_inline_add2(), Array< T >::ndims(), dim_vector::redim(), Array< T >::resize(), and u.
|
inherited |
Definition at line 120 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), idx_vector::length(), idx_vector::loop(), min(), numel(), and Array< T >::numel().
|
inherited |
Definition at line 101 of file MArray.cc.
References Array< T >::data(), idx_vector::extent(), idx_vector::length(), idx_vector::loop(), min(), numel(), and Array< T >::numel().
|
inherited |
Definition at line 87 of file CNDArray.cc.
References Array< Complex >::dims(), dv, Array< Complex >::fortran_vec(), i, octave::fftw::ifft(), k, dim_vector::ndims(), Array< Complex >::numel(), and retval.
Referenced by do_fft().
ComplexMatrix ComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1049 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), octave::fftw::ifft(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1092 of file CMatrix.cc.
References Array< Complex >::cols(), Array< Complex >::data(), dv, octave::fftw::ifftNd(), retval, and Array< Complex >::rows().
|
inherited |
Definition at line 173 of file CNDArray.cc.
References Array< Complex >::dims(), dv, Array< Complex >::fortran_vec(), octave::fftw::ifftNd(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
staticinherited |
Definition at line 804 of file CNDArray.cc.
References Array< Complex >::dimensions, and ra_idx.
Referenced by ComplexNDArray::insert().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 743 of file CNDArray.cc.
References a, c, current_liboctave_error_handler, Array< Complex >::dimensions, Array< Complex >::elem(), Array< T >::elem(), i, ComplexNDArray::increment_index(), dim_vector::ndims(), and ra_idx.
Referenced by ComplexNDArray::concat(), and insert().
|
inherited |
Definition at line 788 of file CNDArray.cc.
References a, c, and Array< T >::insert().
|
inherited |
Definition at line 796 of file CNDArray.cc.
References a, Array< T >::insert(), and ra_idx.
ComplexMatrix & ComplexMatrix::insert | ( | const Matrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 194 of file CMatrix.cc.
References a, a_nc, a_nr, c, Array< Complex >::cols(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const RowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 215 of file CMatrix.cc.
References a, c, Array< Complex >::cols(), i, 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 234 of file CMatrix.cc.
References a, c, Array< Complex >::cols(), i, 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 254 of file CMatrix.cc.
References a, a_nc, a_nr, c, Array< Complex >::cols(), fill(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 279 of file CMatrix.cc.
References a, c, and ComplexNDArray::insert().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 287 of file CMatrix.cc.
References a, c, Array< Complex >::cols(), Array< Complex >::elem(), i, and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::insert | ( | const ComplexColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 301 of file CMatrix.cc.
References a, c, Array< Complex >::cols(), i, 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 321 of file CMatrix.cc.
References a, a_nc, a_nr, c, Array< Complex >::cols(), fill(), i, Array< Complex >::make_unique(), Array< Complex >::rows(), and Array< Complex >::xelem().
|
inherited |
ComplexMatrix ComplexMatrix::inverse | ( | void | ) | const |
Definition at line 736 of file CMatrix.cc.
Referenced by Finv(), inverse(), and pseudo_inverse().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 745 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | octave_idx_type & | info, |
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 753 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 761 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 769 of file CMatrix.cc.
References inverse().
ComplexMatrix ComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 930 of file CMatrix.cc.
References Array< Complex >::columns(), ComplexMatrix(), finverse(), Inf, MatrixType::ishermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), Array< Complex >::numel(), Array< Complex >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
Definition at line 98 of file MArray.h.
References Array< T >::ipermute().
|
inline |
Definition at line 115 of file CMatrix.h.
References ishermitian().
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 731 of file CNDArray.cc.
bool ComplexMatrix::ishermitian | ( | void | ) | const |
Definition at line 173 of file CMatrix.cc.
References Array< Complex >::cols(), conj, Array< Complex >::elem(), i, Array< Complex >::issquare(), and Array< Complex >::rows().
Referenced by is_hermitian().
|
inherited |
Definition at line 725 of file CNDArray.cc.
|
inherited |
Definition at line 719 of file CNDArray.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
Definition at line 559 of file Array.h.
Referenced by ishermitian().
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with 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.
|
inherited |
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b | ) | const |
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2395 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2403 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2411 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2418 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2427 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2435 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::lssolve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2443 of file CMatrix.cc.
References b, b_nc, b_nr, Array< Complex >::cols(), ComplexMatrix(), F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), i, octave::math::isinf(), octave::math::isnan(), octave::math::log2(), max(), NaN(), norm1(), real(), octave_value::resize(), Array< T >::resize(), retval, Array< Complex >::rows(), s, tmp, octave::warn_singular_matrix(), and xilaenv().
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b | ) | const |
Definition at line 2614 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2623 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2631 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2639 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2646 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2655 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2664 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::lssolve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
double & | rcon | ||
) | const |
Definition at line 2673 of file CMatrix.cc.
References b, Array< Complex >::cols(), F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T >::fortran_vec(), i, octave::math::log2(), real(), octave_value::resize(), Array< T >::resize(), retval, Array< Complex >::rows(), s, tmp, and xilaenv().
|
private |
Definition at line 1789 of file CMatrix.cc.
References b, b_nc, b_nr, Array< Complex >::cols(), ComplexMatrix(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), get_blas_char(), octave::math::isnan(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, result, retval, Array< Complex >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
Definition at line 187 of file Array.h.
Referenced by ComplexRowVector::fill(), ComplexColumnVector::fill(), fill(), ComplexRowVector::insert(), ComplexColumnVector::insert(), and insert().
|
inherited |
Definition at line 665 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 671 of file CNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 677 of file CNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 683 of file CNDArray.cc.
References mx_inline_min().
|
inlineinherited |
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
|
inlineinherited |
Number of elements in the array.
Definition at line 366 of file Array.h.
Referenced by ComplexNDArray::all_integers(), ComplexRowVector::append(), ComplexMatrix(), ComplexRowVector::fill(), ComplexColumnVector::fill(), ComplexNDArray::fourier(), ComplexNDArray::fourier2d(), ComplexNDArray::ifourier(), ComplexNDArray::ifourier2d(), ComplexRowVector::insert(), ComplexColumnVector::insert(), inverse(), 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 |
Definition at line 489 of file CNDArray.cc.
References ComplexNDArray::any_element_is_nan(), octave::err_nan_to_logical_conversion(), and mx_inline_not().
bool ComplexMatrix::operator!= | ( | const ComplexMatrix & | a | ) | const |
Definition at line 167 of file CMatrix.cc.
References a.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexMatrix & ComplexMatrix::operator+= | ( | const DiagMatrix & | a | ) |
Definition at line 2833 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), Array< Complex >::elem(), octave::err_nonconformant(), i, and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 2869 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), Array< Complex >::elem(), octave::err_nonconformant(), i, and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator+= | ( | const Matrix & | a | ) |
Definition at line 2907 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), d, octave::err_nonconformant(), Array< Complex >::fortran_vec(), mx_inline_add2(), Array< Complex >::numel(), and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const DiagMatrix & | a | ) |
Definition at line 2851 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), Array< Complex >::elem(), octave::err_nonconformant(), i, and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 2887 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), Array< Complex >::elem(), octave::err_nonconformant(), i, and Array< Complex >::rows().
ComplexMatrix & ComplexMatrix::operator-= | ( | const Matrix & | a | ) |
Definition at line 2928 of file CMatrix.cc.
References a, a_nc, a_nr, Array< Complex >::cols(), d, octave::err_nonconformant(), Array< Complex >::fortran_vec(), mx_inline_sub2(), Array< Complex >::numel(), and Array< Complex >::rows().
bool ComplexMatrix::operator== | ( | const ComplexMatrix & | a | ) | const |
Definition at line 158 of file CMatrix.cc.
References a, Array< Complex >::cols(), Array< Complex >::data(), mx_inline_equal(), Array< Complex >::numel(), and Array< Complex >::rows().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 94 of file MArray.h.
References Array< T >::permute().
|
inherited |
ComplexMatrix ComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2975 of file CMatrix.cc.
References ComplexNDArray::prod().
ComplexMatrix ComplexMatrix::pseudo_inverse | ( | double | tol = 0.0 | ) | const |
Definition at line 975 of file CMatrix.cc.
References Array< Complex >::cols(), ComplexMatrix(), Array< T >::elem(), ColumnVector::extract(), extract(), DiagMatrix::extract_diag(), hermitian(), inverse(), max(), min(), Array< T >::numel(), result, retval, Array< Complex >::rows(), and V.
double ComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1516 of file CMatrix.cc.
Referenced by Frcond(), ltsolve(), LuAminusSigmaB(), lusolve(), and utsolve().
double ComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1523 of file CMatrix.cc.
References Array< Complex >::cols(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< Complex >::fortran_vec(), Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), NaN(), norm(), norm1(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Array< Complex >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
Definition at line 91 of file MArray.h.
References Array< T >::reshape().
|
inlineinherited |
|
inline |
Definition at line 187 of file CMatrix.h.
References Array< T >::resize().
Referenced by EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EIG::init(), qrp< T >::init(), and qr< T >::init().
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
ComplexRowVector ComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 701 of file CMatrix.cc.
References idx_vector::colon, i, and Array< Complex >::index().
bool ComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 3017 of file CMatrix.cc.
References Array< Complex >::columns(), Array< Complex >::elem(), i, imag(), and retval.
ComplexColumnVector ComplexMatrix::row_max | ( | void | ) | const |
Definition at line 3130 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3137 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< Complex >::elem(), Array< T >::elem(), i, octave::math::isnan(), NaN(), Array< T >::resize(), result, row_is_real_only(), Array< Complex >::rows(), and tmp.
ComplexColumnVector ComplexMatrix::row_min | ( | void | ) | const |
Definition at line 3055 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3062 of file CMatrix.cc.
References abs(), Array< Complex >::cols(), Complex_NaN_result(), Array< Complex >::elem(), Array< T >::elem(), i, octave::math::isnan(), NaN(), Array< T >::resize(), result, row_is_real_only(), Array< Complex >::rows(), and tmp.
|
inlineinherited |
Definition at line 404 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(), ishermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b | ||
) | const |
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2105 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2113 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2120 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 2131 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2139 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2147 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2154 of file CMatrix.cc.
References b, blas_conj_trans, blas_trans, fsolve(), MatrixType::Full, MatrixType::Hermitian, hermitian(), MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, retval, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b | ||
) | const |
Definition at line 2192 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2200 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2208 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2215 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 2225 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2233 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2241 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2248 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 2260 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2268 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2275 of file CMatrix.cc.
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 2282 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
Definition at line 2291 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2299 of file CMatrix.cc.
ComplexMatrix ComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2306 of file CMatrix.cc.
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 2313 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 2323 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2331 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2338 of file CMatrix.cc.
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 2345 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 2354 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2362 of file CMatrix.cc.
ComplexColumnVector ComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcon | ||
) | const |
Definition at line 2369 of file CMatrix.cc.
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 2376 of file CMatrix.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inherited |
Definition at line 39 of file Array-idx-vec.cc.
|
inlineinherited |
Definition at line 123 of file CNDArray.h.
References MArray< T >::squeeze().
ComplexMatrix ComplexMatrix::stack | ( | const Matrix & | a | ) | const |
Definition at line 554 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const RowVector & | a | ) | const |
Definition at line 569 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ColumnVector & | a | ) | const |
Definition at line 584 of file CMatrix.cc.
References a, Array< Complex >::cols(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const DiagMatrix & | a | ) | const |
Definition at line 599 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexMatrix & | a | ) | const |
Definition at line 614 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexRowVector & | a | ) | const |
Definition at line 629 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexColumnVector & | a | ) | const |
Definition at line 644 of file CMatrix.cc.
References a, Array< Complex >::cols(), retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::stack | ( | const ComplexDiagMatrix & | a | ) | const |
Definition at line 659 of file CMatrix.cc.
References a, Array< Complex >::cols(), current_liboctave_error_handler, retval, and Array< Complex >::rows().
ComplexMatrix ComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2981 of file CMatrix.cc.
References ComplexNDArray::sum().
Referenced by norm1().
ComplexMatrix ComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2987 of file CMatrix.cc.
References ComplexNDArray::sumsq().
Simpler calls.
Definition at line 815 of file Array.h.
Referenced by ComplexNDArray::too_large_for_float().
|
private |
Definition at line 776 of file CMatrix.cc.
References Array< Complex >::cols(), F77_DBLE_CMPLX_ARG, F77_XFCN, MatrixType::Lower, OCTAVE_LOCAL_BUFFER, retval, Array< Complex >::rows(), and MatrixType::type().
Referenced by inverse().
|
inherited |
Definition at line 575 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 168 of file CMatrix.h.
References MArray< T >::transpose().
Referenced by Gqr(), oct_unop_transpose(), read_mat_binary_data(), and solve().
|
private |
Definition at line 1691 of file CMatrix.cc.
References b, b_nc, b_nr, Array< Complex >::cols(), ComplexMatrix(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), Array< Complex >::fortran_vec(), get_blas_char(), octave::math::isnan(), norm(), MatrixType::Permuted_Upper, result, retval, Array< Complex >::rows(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
Definition at line 458 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 |
Definition at line 617 of file CNDArray.cc.
References mx_inline_xsum().
|
friend |
Definition at line 674 of file CMatrix.cc.
Referenced by ishermitian().
|
friend |
Definition at line 3357 of file CMatrix.cc.
|
friend |
Definition at line 3372 of file CMatrix.cc.
|
protectedinherited |
Definition at line 216 of file Array.h.
Referenced by ComplexNDArray::compute_index(), ComplexNDArray::increment_index(), and ComplexNDArray::insert().
|
protectedinherited |