#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 OCTAVE_API Sparse< Complex, Alloc > | cat (int dim, octave_idx_type n, const Sparse< Complex, Alloc > *sparse_list) |
Protected Member Functions | |
void | make_unique (void) |
Protected Attributes | |
dim_vector | m_dimensions |
Sparse< Complex, Alloc >::SparseRep * | m_rep |
Static Private Member Functions | |
static OCTAVE_API Sparse< Complex, Alloc >::SparseRep * | nil_rep (void) |
Friends | |
OCTAVE_API 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 73 of file CSparse.cc.
|
explicit |
Definition at line 77 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), Sparse< Complex >::data(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), and Sparse< Complex >::ridx().
|
explicit |
Definition at line 93 of file CSparse.cc.
References 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 7420 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), Sparse< Complex >::data(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), and Sparse< Complex >::rows().
SparseBoolMatrix SparseComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7361 of file CSparse.cc.
References SPARSE_ALL_OP.
bool SparseComplexMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 7305 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 7315 of file CSparse.cc.
References Sparse< Complex >::data(), Sparse< Complex >::nnz(), real(), 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 7367 of file CSparse.cc.
References SPARSE_ANY_OP.
bool SparseComplexMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7288 of file CSparse.cc.
References Sparse< Complex >::data(), octave::math::isinf(), octave::math::isnan(), and Sparse< Complex >::nnz().
bool SparseComplexMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7273 of file CSparse.cc.
References Sparse< Complex >::data(), octave::math::isnan(), and Sparse< Complex >::nnz().
Referenced by operator!(), and octave_sparse_complex_matrix::sparse_bool_matrix_value().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
private |
Definition at line 4930 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), ComplexMatrix, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), Sparse< Complex >::ridx(), Matrix::row(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 4321 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), ComplexMatrix, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), Sparse< Complex >::ridx(), Matrix::row(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 5197 of file CSparse.cc.
References SparseComplexMatrix(), abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T, Alloc >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T, Alloc >::maybe_compress(), MatrixType::nlower(), Sparse< T, Alloc >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Matrix::row(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), Matrix::sum(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 4591 of file CSparse.cc.
References SparseComplexMatrix(), abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T, Alloc >::maybe_compress(), MatrixType::nlower(), Sparse< T, Alloc >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Matrix::row(), Sparse< Complex >::rows(), Sparse< T, Alloc >::rows(), Matrix::sum(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexColumnVector SparseComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 534 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::data(), 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 580 of file CSparse.cc.
References Sparse< T, Alloc >::cols(), insert(), ra_idx, and Sparse< T, Alloc >::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 590 of file CSparse.cc.
References Sparse< T, Alloc >::cols(), insert(), ra_idx, and Sparse< T, Alloc >::rows().
SparseComplexMatrix SparseComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 7373 of file CSparse.cc.
References cumprod(), and SPARSE_CUMPROD.
Referenced by cumprod().
SparseComplexMatrix SparseComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 7379 of file CSparse.cc.
References cumsum(), and SPARSE_CUMSUM.
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1079 of file CSparse.cc.
References determinant().
ComplexDET SparseComplexMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcond, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1086 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T, Alloc >::fortran_vec(), octave::sparse_params::get_key(), octave::math::isnan(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), octave::to_suitesparse_intptr(), and UMFPACK_ZNAME.
ComplexDET SparseComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1071 of file CSparse.cc.
References determinant().
Referenced by determinant(), and Fdet().
SparseComplexMatrix SparseComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7440 of file CSparse.cc.
References MSparse< T >::diag().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 684 of file CSparse.cc.
References abs(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, Sparse< Complex >::rows(), transpose(), and MatrixType::type().
Referenced by inverse().
|
private |
Definition at line 1371 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), and MatrixType::type().
|
private |
Definition at line 1222 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), and MatrixType::type().
Referenced by solve().
|
private |
Definition at line 1431 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), Sparse< T, Alloc >::nnz(), MatrixType::Permuted_Diagonal, Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T, Alloc >::rows(), MatrixType::type(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 1281 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), Sparse< T, Alloc >::nnz(), MatrixType::Permuted_Diagonal, Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T, Alloc >::rows(), MatrixType::type(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 5544 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T, Alloc >::fortran_vec(), octave::sparse_params::get_key(), octave::math::isnan(), Matrix, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), octave::to_suitesparse_intptr(), UMFPACK_ZNAME, and octave::warn_singular_matrix().
Referenced by fsolve().
|
private |
Definition at line 6204 of file CSparse.cc.
References A, B, CHOLMOD_NAME, Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T, Alloc >::data(), factorize(), Array< T, Alloc >::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(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
|
private |
Definition at line 5675 of file CSparse.cc.
References A, B, CHOLMOD_NAME, Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Array< T, Alloc >::data(), Array< T, Alloc >::elem(), factorize(), Array< T, Alloc >::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(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
Referenced by solve().
|
private |
Definition at line 6422 of file CSparse.cc.
References SparseComplexMatrix(), A, B, Sparse< T, Alloc >::change_capacity(), CHOLMOD_NAME, Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), Sparse< Complex >::data(), factorize(), Array< T, Alloc >::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, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 5914 of file CSparse.cc.
References SparseComplexMatrix(), A, B, Sparse< T, Alloc >::change_capacity(), CHOLMOD_NAME, Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::cols(), Sparse< Complex >::data(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), factorize(), Array< T, Alloc >::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, Alloc >::maybe_compress(), Sparse< Complex >::nnz(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_ZNAME, octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
inlineinherited |
|
inlineinherited |
SparseComplexMatrix SparseComplexMatrix::hermitian | ( | void | ) | const |
Definition at line 606 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Referenced by inverse(), LuAminusSigmaB(), make_cholb(), oct_unop_hermitian(), and xdiv().
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 572 of file CSparse.cc.
References MSparse< T >::insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 556 of file CSparse.cc.
References MSparse< T >::insert().
Referenced by concat(), SparseMatrix::concat(), and insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 564 of file CSparse.cc.
References insert().
SparseComplexMatrix & SparseComplexMatrix::insert | ( | const SparseMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 548 of file CSparse.cc.
References insert().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 669 of file CSparse.cc.
References inverse().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 677 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 985 of file CSparse.cc.
References SparseComplexMatrix(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), MatrixType::Diagonal, dinverse(), hermitian(), Inf, MatrixType::ishermitian(), octave::math::sparse_chol< chol_type >::L(), octave::math::sparse_lu< lu_type >::L(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), Sparse< Complex >::nnz(), octave::math::sparse_lu< lu_type >::Pc(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::sparse_lu< lu_type >::Pr(), Q, octave::math::sparse_chol< chol_type >::Q(), octave::math::sparse_chol< chol_type >::rcond(), octave::math::sparse_lu< lu_type >::rcond(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), tinverse(), transpose(), SparseMatrix::transpose(), MatrixType::transpose(), MatrixType::type(), octave::math::sparse_lu< lu_type >::U(), MatrixType::Unknown, MatrixType::Upper, Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | void | ) | const |
SparseComplexMatrix SparseComplexMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 7265 of file CSparse.cc.
References MSparse< T >::ipermute().
bool SparseComplexMatrix::ishermitian | ( | void | ) | const |
Definition at line 142 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::cols(), conj, Sparse< Complex >::data(), Sparse< Complex >::ridx(), and Sparse< Complex >::rows().
Referenced by F__eigs__().
|
private |
Definition at line 3094 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
|
private |
Definition at line 2544 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
Referenced by solve().
|
private |
Definition at line 3346 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T, Alloc >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 2793 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T, Alloc >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
ComplexMatrix SparseComplexMatrix::matrix_value | ( | void | ) | const |
Definition at line 600 of file CSparse.cc.
References Sparse< T, Alloc >::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 | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 193 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< Complex >::cidx(), Complex_NaN_result(), Sparse< Complex >::data(), Sparse< Complex >::dims(), Array< T, Alloc >::elem(), Sparse< Complex >::elem(), dim_vector::first_non_singleton(), octave::math::isnan(), NaN, dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::resize(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseComplexMatrix SparseComplexMatrix::max | ( | int | dim = -1 | ) | const |
SparseComplexMatrix SparseComplexMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 350 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< Complex >::cidx(), Complex_NaN_result(), Sparse< Complex >::data(), Sparse< Complex >::dims(), Array< T, Alloc >::elem(), Sparse< Complex >::elem(), dim_vector::first_non_singleton(), octave::math::isnan(), NaN, dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::resize(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseComplexMatrix SparseComplexMatrix::min | ( | int | dim = -1 | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
SparseBoolMatrix SparseComplexMatrix::operator! | ( | void | ) | const |
Definition at line 7213 of file CSparse.cc.
References any_element_is_nan(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), octave::err_nan_to_logical_conversion(), Sparse< Complex >::nnz(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), and Sparse< Complex >::rows().
bool SparseComplexMatrix::operator!= | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 136 of file CSparse.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 102 of file CSparse.h.
References MSparse< T >::operator=().
bool SparseComplexMatrix::operator== | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 112 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), Sparse< Complex >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Sparse< T, Alloc >::rows(), and Sparse< Complex >::rows().
SparseComplexMatrix SparseComplexMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 7259 of file CSparse.cc.
References MSparse< T >::permute().
|
inherited |
SparseComplexMatrix SparseComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7385 of file CSparse.cc.
References Sparse< Complex >::cidx(), prod(), Sparse< Complex >::rows(), SPARSE_REDUCTION_OP, and transpose().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
SparseComplexMatrix SparseComplexMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 7253 of file CSparse.cc.
References MSparse< T >::reshape().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
ComplexRowVector SparseComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 515 of file CSparse.cc.
References Sparse< Complex >::cidx(), Sparse< Complex >::columns(), Sparse< Complex >::data(), and Sparse< Complex >::ridx().
|
inlineinherited |
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7148 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7155 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7162 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 7169 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7179 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7187 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7195 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 7202 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
OCTAVE_API ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7092 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7100 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 7107 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 7029 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7037 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7044 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 7051 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7116 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7124 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7132 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 7139 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7060 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7068 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7076 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 7083 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b | ||
) | const |
Definition at line 6963 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6970 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6978 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6985 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 6995 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 7004 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7012 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7019 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6832 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6840 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6848 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6855 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseComplexMatrix, ComplexMatrix >(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b | ||
) | const |
Definition at line 6702 of file CSparse.cc.
References solve().
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6710 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6718 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6725 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseComplexMatrix, Matrix >(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b | ||
) | const |
Definition at line 6897 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6906 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6914 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6921 of file CSparse.cc.
References SparseComplexMatrix(), MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b | ||
) | const |
Definition at line 6767 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6775 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6783 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6790 of file CSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< SparseComplexMatrix, SparseComplexMatrix, SparseMatrix >(), dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, octave::math::qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
|
inherited |
|
inherited |
SparseComplexMatrix SparseComplexMatrix::squeeze | ( | void | ) | const |
Definition at line 7247 of file CSparse.cc.
References MSparse< T >::squeeze().
SparseComplexMatrix SparseComplexMatrix::sum | ( | int | dim = -1 | ) | const |
SparseComplexMatrix SparseComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 7403 of file CSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
|
private |
Definition at line 734 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::info(), MatrixType::Lower, Sparse< T, Alloc >::maybe_compress(), Sparse< Complex >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Referenced by inverse().
bool SparseComplexMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7353 of file CSparse.cc.
References Sparse< Complex >::test_any(), and octave::too_large_for_float().
Referenced by octave_sparse_complex_matrix::save_binary(), and octave_sparse_complex_matrix::save_hdf5().
|
inline |
Definition at line 137 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 3977 of file CSparse.cc.
References Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), ComplexMatrix, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, real(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 3646 of file CSparse.cc.
References Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), ComplexMatrix, Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, real(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 4145 of file CSparse.cc.
References SparseComplexMatrix(), Sparse< T, Alloc >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< Complex >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 3815 of file CSparse.cc.
References SparseComplexMatrix(), Sparse< T, Alloc >::change_capacity(), Sparse< Complex >::cidx(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< Complex >::cols(), Sparse< Complex >::data(), Sparse< T, Alloc >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T, Alloc >::ridx(), Sparse< Complex >::ridx(), Sparse< Complex >::rows(), Sparse< T, Alloc >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 2032 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
|
private |
Definition at line 1521 of file CSparse.cc.
References abs(), Sparse< Complex >::cidx(), Array< T, Alloc >::cols(), Sparse< Complex >::cols(), current_liboctave_error_handler, Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), Sparse< Complex >::ridx(), Array< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T, Alloc >::xelem().
Referenced by solve().
|
private |
Definition at line 2262 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
private |
Definition at line 1751 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< Complex >::cidx(), Sparse< Complex >::cols(), Sparse< T, Alloc >::cols(), current_liboctave_error_handler, Sparse< T, Alloc >::data(), Sparse< Complex >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< Complex >::ridx(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< Complex >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 640 of file CSparse.cc.
Referenced by hermitian(), and ishermitian().
|
friend |
Definition at line 7445 of file CSparse.cc.
|
friend |
Definition at line 7467 of file CSparse.cc.
|
protectedinherited |