GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "CSparse.h"
Public Types | |
typedef ComplexMatrix | dense_matrix_type |
typedef Complex | element_type |
typedef void(* | solve_singularity_handler )(double rcond) |
Static Public Member Functions | |
static Sparse< Complex > | cat (int dim, octave_idx_type n, const Sparse< Complex > *sparse_list) |
Public Attributes | |
dim_vector | dimensions |
Sparse< Complex >::SparseRep * | rep |
Protected Member Functions | |
void | make_unique (void) |
Friends | |
SparseComplexMatrix | conj (const SparseComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const SparseComplexMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, SparseComplexMatrix &a) |
typedef void(* SparseComplexMatrix::solve_singularity_handler)(double rcond) |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
explicit |
Definition at line 74 of file CSparse.cc.
|
explicit |
Definition at line 78 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< Complex >::ridx().
|
explicit |
Definition at line 94 of file CSparse.cc.
References a, Sparse< Complex >::cidx(), DiagArray2< T >::cols(), Sparse< Complex >::data(), DiagArray2< T >::length(), and Sparse< Complex >::ridx().
|
inline |
SparseMatrix SparseComplexMatrix::abs | ( | void | ) | const |
Definition at line 7282 of file CSparse.cc.
References abs(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T >::data(), Sparse< Complex >::nnz(), retval, Sparse< Complex >::ridx(), Sparse< T >::ridx(), and Sparse< Complex >::rows().
SparseBoolMatrix SparseComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7223 of file CSparse.cc.
References SPARSE_ALL_OP.
bool SparseComplexMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 7167 of file CSparse.cc.
References Sparse< Complex >::data(), mx_inline_all_real(), and Sparse< Complex >::nnz().
Referenced by octave_sparse_complex_matrix::sparse_bool_matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
Definition at line 7177 of file CSparse.cc.
References Sparse< Complex >::data(), Sparse< Complex >::nnz(), octave::math::real(), val, and octave::math::x_nint().
Referenced by octave_sparse_complex_matrix::save_binary(), and octave_sparse_complex_matrix::save_hdf5().
SparseBoolMatrix SparseComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 7229 of file CSparse.cc.
References SPARSE_ANY_OP.
bool SparseComplexMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7150 of file CSparse.cc.
References Sparse< Complex >::data(), octave::math::isinf(), octave::math::isnan(), Sparse< Complex >::nnz(), and val.
bool SparseComplexMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7135 of file CSparse.cc.
References Sparse< Complex >::data(), octave::math::isnan(), Sparse< Complex >::nnz(), and val.
Referenced by operator!(), and octave_sparse_complex_matrix::sparse_bool_matrix_value().
|
inherited |
|
inherited |
|
private |
Definition at line 4242 of file CSparse.cc.
References ComplexMatrix::abs(), abs(), b_nc, MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), result, retval, Sparse< Complex >::ridx(), Matrix::row(), Sparse< Complex >::rows(), Array< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 4803 of file CSparse.cc.
References ComplexMatrix::abs(), abs(), b_nc, b_nr, MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), result, retval, Sparse< Complex >::ridx(), Matrix::row(), Sparse< Complex >::rows(), Array< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 4488 of file CSparse.cc.
References ComplexMatrix::abs(), abs(), b_nc, b_nr, MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), Sparse< T >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Matrix::row(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), Matrix::sum(), sz, tmp, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 5047 of file CSparse.cc.
References ComplexMatrix::abs(), abs(), b, b_nc, b_nr, MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Matrix::row(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), Matrix::sum(), sz, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
staticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 543 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), operator!(), operator==(), prod(), row(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 272 of file Sparse.h.
Referenced by abs(), bsolve(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), MDiagArray2< T >::is_multiple_of_identity(), ltsolve(), operator!(), operator==(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
ComplexColumnVector SparseComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 535 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::data(), k, retval, Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
|
inlineinherited |
|
inherited |
SparseComplexMatrix SparseComplexMatrix::concat | ( | const SparseComplexMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 581 of file CSparse.cc.
References Sparse< T >::cols(), insert(), ra_idx, and Sparse< T >::rows().
Referenced by oct_catop_scm_cm(), oct_catop_scm_cs(), oct_catop_scm_m(), and oct_catop_scm_s().
SparseComplexMatrix SparseComplexMatrix::concat | ( | const SparseMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 591 of file CSparse.cc.
References Sparse< T >::cols(), insert(), ra_idx, Sparse< T >::rows(), and tmp.
SparseComplexMatrix SparseComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 7235 of file CSparse.cc.
References SPARSE_CUMPROD.
SparseComplexMatrix SparseComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 7241 of file CSparse.cc.
References SPARSE_CUMSUM.
Definition at line 521 of file Sparse.h.
Referenced by abs(), all_elements_are_real(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), operator==(), row(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
ComplexDET SparseComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1054 of file CSparse.cc.
Referenced by determinant(), and Fdet().
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1062 of file CSparse.cc.
References determinant().
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcond, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1069 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), octave::math::isnan(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), tmp, and UMFPACK_ZNAME.
SparseComplexMatrix SparseComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7302 of file CSparse.cc.
References MSparse< T >::diag().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 685 of file CSparse.cc.
References abs(), Sparse< Complex >::cols(), Sparse< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, retval, Sparse< Complex >::rows(), tmp, transpose(), and MatrixType::type().
Referenced by inverse().
|
private |
Definition at line 1200 of file CSparse.cc.
References abs(), b, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), k, nm, MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, and MatrixType::type().
Referenced by solve().
|
private |
Definition at line 1349 of file CSparse.cc.
References abs(), b, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), k, nm, MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, and MatrixType::type().
|
private |
Definition at line 1259 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), MatrixType::Diagonal, found, Inf, MatrixType::info(), k, nm, Sparse< T >::nnz(), MatrixType::Permuted_Diagonal, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), tmp, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 1409 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), MatrixType::Diagonal, found, Inf, MatrixType::info(), k, nm, Sparse< T >::nnz(), MatrixType::Permuted_Diagonal, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), tmp, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 5371 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), octave::math::isnan(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), tmp, UMFPACK_ZNAME, and octave::warn_singular_matrix().
Referenced by fsolve().
|
private |
Definition at line 5497 of file CSparse.cc.
References A, B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Array< T >::elem(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), start, tmp, MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 6045 of file CSparse.cc.
References A, B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< Complex >::nnz(), ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), start, tmp, MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 5747 of file CSparse.cc.
References A, B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), Sparse< T >::elem(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< Complex >::nnz(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), SparseComplexMatrix(), start, sz, tmp, MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 6274 of file CSparse.cc.
References A, b, B, b_nc, b_nr, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), Sparse< T >::data(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< Complex >::nnz(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), SparseComplexMatrix(), start, sz, tmp, MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
inlineinherited |
SparseComplexMatrix SparseComplexMatrix::hermitian | ( | void | ) | const |
Definition at line 607 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), k, Sparse< Complex >::nnz(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), tmp, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Referenced by inverse(), LuAminusSigmaB(), make_cholb(), oct_unop_hermitian(), and xdiv().
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 80 of file MSparse.h.
References Sparse< T >::insert().
|
inlineinherited |
Definition at line 86 of file MSparse.h.
References Sparse< T >::insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 557 of file CSparse.cc.
References MSparse< T >::insert().
Referenced by SparseMatrix::concat(), concat(), and insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 549 of file CSparse.cc.
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 573 of file CSparse.cc.
References MSparse< T >::insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 565 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::inverse | ( | void | ) | const |
Definition at line 661 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 670 of file CSparse.cc.
References inverse().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 678 of file CSparse.cc.
References inverse().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcond, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 986 of file CSparse.cc.
References MatrixType::Diagonal, dinverse(), hermitian(), MatrixType::is_hermitian(), octave::math::sparse_chol< chol_type >::L(), octave::math::sparse_lu< lu_type >::L(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), octave::math::sparse_lu< lu_type >::Pc(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::sparse_lu< lu_type >::Pr(), octave::math::sparse_chol< chol_type >::Q(), Q, octave::math::sparse_chol< chol_type >::rcond(), octave::math::sparse_lu< lu_type >::rcond(), Sparse< Complex >::rows(), tinverse(), transpose(), SparseMatrix::transpose(), MatrixType::transpose(), MatrixType::type(), octave::math::sparse_lu< lu_type >::U(), MatrixType::Unknown, and MatrixType::Upper.
SparseComplexMatrix SparseComplexMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 7127 of file CSparse.cc.
References MSparse< T >::ipermute().
bool SparseComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 143 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), found, k, Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
|
inlineinherited |
|
private |
Definition at line 2522 of file CSparse.cc.
References abs(), b, b_nc, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::Lower, MatrixType::mark_as_rectangular(), nm, OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 3072 of file CSparse.cc.
References abs(), b, b_nc, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::Lower, MatrixType::mark_as_rectangular(), nm, OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 2771 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), nm, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), sz, tmp, MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 3324 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), nm, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), sz, tmp, MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
ComplexMatrix SparseComplexMatrix::matrix_value | ( | void | ) | const |
Definition at line 601 of file CSparse.cc.
References Sparse< T >::array_value().
Referenced by octave_sparse_complex_matrix::complex_array_value(), octave_sparse_complex_matrix::complex_matrix_value(), octave_sparse_complex_matrix::matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
SparseComplexMatrix SparseComplexMatrix::max | ( | int | dim = -1 | ) | const |
Definition at line 187 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 194 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Complex_NaN_result(), Sparse< Complex >::data(), Sparse< Complex >::dims(), dv, Sparse< Complex >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), found, octave::math::isnan(), NaN(), dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), result, Sparse< Complex >::ridx(), SparseComplexMatrix(), tmp, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
inlineinherited |
SparseComplexMatrix SparseComplexMatrix::min | ( | int | dim = -1 | ) | const |
Definition at line 344 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 351 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Complex_NaN_result(), Sparse< Complex >::data(), Sparse< Complex >::dims(), dv, Sparse< Complex >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), found, octave::math::isnan(), NaN(), dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), result, Sparse< Complex >::ridx(), SparseComplexMatrix(), tmp, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Actual number of nonzero terms.
Definition at line 253 of file Sparse.h.
Referenced by abs(), all_elements_are_real(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), fsolve(), hermitian(), operator!(), operator==(), and tinverse().
|
inlineinherited |
|
inlineinherited |
SparseBoolMatrix SparseComplexMatrix::operator! | ( | void | ) | const |
Definition at line 7075 of file CSparse.cc.
References any_element_is_nan(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::data(), octave::err_nan_to_logical_conversion(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< T >::ridx(), and Sparse< Complex >::rows().
bool SparseComplexMatrix::operator!= | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 137 of file CSparse.cc.
References a.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 108 of file CSparse.h.
References MSparse< T >::operator=().
bool SparseComplexMatrix::operator== | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 113 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T >::data(), Sparse< Complex >::nnz(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), and Sparse< T >::rows().
SparseComplexMatrix SparseComplexMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 7121 of file CSparse.cc.
References MSparse< T >::permute().
|
inherited |
SparseComplexMatrix SparseComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7247 of file CSparse.cc.
References Sparse< Complex >::cidx(), prod(), Sparse< Complex >::rows(), SPARSE_REDUCTION_OP, and transpose().
Referenced by prod().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
SparseComplexMatrix SparseComplexMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 7115 of file CSparse.cc.
References MSparse< T >::reshape().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 530 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), hermitian(), is_hermitian(), ltsolve(), max(), min(), operator!(), operator==(), row(), SparseComplexMatrix(), tinverse(), trisolve(), and utsolve().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexRowVector SparseComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 516 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::columns(), Sparse< Complex >::data(), k, retval, and Sparse< Complex >::ridx().
|
inlineinherited |
Definition at line 271 of file Sparse.h.
Referenced by abs(), bsolve(), column(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), hermitian(), inverse(), is_hermitian(), MDiagArray2< T >::is_multiple_of_identity(), ltsolve(), operator!(), operator==(), prod(), tinverse(), trisolve(), and utsolve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b | ||
) | const |
Definition at line 6564 of file CSparse.cc.
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6572 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6580 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6587 of file CSparse.cc.
References b, MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseComplexMatrix, Matrix >(), dsolve(), err, fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, retval, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6694 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6702 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6710 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6717 of file CSparse.cc.
References b, MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseComplexMatrix, ComplexMatrix >(), dsolve(), err, fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, retval, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b | ||
) | const |
Definition at line 6629 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6637 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6645 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6652 of file CSparse.cc.
References b, MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< SparseComplexMatrix, SparseComplexMatrix, SparseMatrix >(), dsolve(), err, fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, retval, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b | ||
) | const |
Definition at line 6759 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6768 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6776 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6783 of file CSparse.cc.
References b, MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve(), dsolve(), err, fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, retval, SparseComplexMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b | ||
) | const |
Definition at line 6825 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6832 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6840 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6847 of file CSparse.cc.
References ComplexMatrix::column(), solve(), and tmp.
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 6857 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6866 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6874 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6881 of file CSparse.cc.
References ComplexMatrix::column(), solve(), and tmp.
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 6891 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 6899 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6906 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6913 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 6954 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6962 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6969 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 6922 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 6930 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6938 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6945 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 6978 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 6986 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6994 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7001 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7010 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7017 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7024 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7031 of file CSparse.cc.
References ComplexMatrix::column(), solve(), and tmp.
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7041 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7049 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7057 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7064 of file CSparse.cc.
References ComplexMatrix::column(), solve(), and tmp.
|
inherited |
|
inherited |
SparseComplexMatrix SparseComplexMatrix::squeeze | ( | void | ) | const |
Definition at line 7109 of file CSparse.cc.
References MSparse< T >::squeeze().
SparseComplexMatrix SparseComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 7259 of file CSparse.cc.
References SPARSE_REDUCTION_OP.
SparseComplexMatrix SparseComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 7265 of file CSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
Definition at line 610 of file Sparse.h.
Referenced by too_large_for_float().
|
private |
Definition at line 735 of file CSparse.cc.
References abs(), Sparse< T >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< Complex >::cols(), Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), k, MatrixType::Lower, Sparse< T >::maybe_compress(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), SparseComplexMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Referenced by inverse().
bool SparseComplexMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7215 of file CSparse.cc.
References Sparse< Complex >::test_any(), and xtoo_large_for_float().
Referenced by octave_sparse_complex_matrix::save_binary(), and octave_sparse_complex_matrix::save_hdf5().
|
inline |
Definition at line 141 of file CSparse.h.
References MSparse< T >::transpose().
Referenced by dinverse(), inverse(), oct_unop_transpose(), prod(), and read_mat_binary_data().
|
private |
Definition at line 3624 of file CSparse.cc.
References b_nc, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), err, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, octave::math::real(), result, retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 3925 of file CSparse.cc.
References b_nc, b_nr, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), ComplexColumnVector::ComplexMatrix, current_liboctave_error_handler, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, octave::math::real(), result, retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 3777 of file CSparse.cc.
References b_nc, Sparse< T >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< Complex >::ridx(), Sparse< T >::ridx(), Sparse< Complex >::rows(), Sparse< T >::rows(), SparseComplexMatrix(), sz, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 4079 of file CSparse.cc.
References b, b_nc, b_nr, Sparse< T >::change_capacity(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), sz, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 1499 of file CSparse.cc.
References abs(), b, b_nc, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::mark_as_rectangular(), nm, OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 2010 of file CSparse.cc.
References abs(), b, b_nc, Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::mark_as_rectangular(), nm, OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), retval, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Array< T >::rows(), tmp, MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 1729 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), nm, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), sz, tmp, MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
private |
Definition at line 2240 of file CSparse.cc.
References abs(), b_nc, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), k, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), nm, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, retval, Sparse< T >::ridx(), Sparse< Complex >::ridx(), Sparse< T >::rows(), Sparse< Complex >::rows(), SparseComplexMatrix(), sz, tmp, MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 641 of file CSparse.cc.
Referenced by hermitian(), and is_hermitian().
|
friend |
Definition at line 7308 of file CSparse.cc.
|
friend |
Definition at line 7329 of file CSparse.cc.
|
inherited |