#include "dSparse.h"
Public Types | |
typedef Matrix | dense_matrix_type |
typedef T | element_type |
typedef void(* | solve_singularity_handler) (double rcond) |
Static Public Member Functions | |
static Sparse< T > | cat (int dim, octave_idx_type n, const Sparse< T > *sparse_list) |
Public Attributes | |
dim_vector | dimensions |
Sparse< T >::SparseRep * | rep |
Protected Member Functions | |
void | make_unique (void) |
Private Member Functions | |
ComplexMatrix | bsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | bsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | bsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | bsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | dinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const |
ComplexMatrix | dsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | dsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | dsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | dsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
void * | factorize (octave_idx_type &err, double &rcond, Matrix &Control, Matrix &Info, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | fsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | fsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | fsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | fsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | ltsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | ltsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | ltsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | ltsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | tinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const |
ComplexMatrix | trisolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | trisolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | trisolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | trisolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | utsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Matrix | utsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | utsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseMatrix | utsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
Static Private Member Functions | |
static Sparse< T >::SparseRep * | nil_rep (void) |
Friends | |
OCTAVE_API SparseMatrix | imag (const SparseComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const SparseMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, SparseMatrix &a) |
OCTAVE_API SparseMatrix | real (const SparseComplexMatrix &a) |
|
inherited |
typedef void(* SparseMatrix::solve_singularity_handler) (double rcond) |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 65 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), and Sparse< T >::ridx().
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
explicit |
Definition at line 81 of file dSparse.cc.
References Sparse< T >::cidx(), DiagArray2< T >::cols(), Sparse< T >::data(), DiagArray2< T >::length(), and Sparse< T >::ridx().
|
inlineexplicit |
|
inline |
SparseMatrix SparseMatrix::abs | ( | void | ) | const |
Definition at line 7459 of file dSparse.cc.
References Array< T >::data(), Sparse< T >::nnz(), and retval.
SparseBoolMatrix SparseMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7399 of file dSparse.cc.
References SPARSE_ALL_OP.
bool SparseMatrix::all_elements_are_int_or_inf_or_nan | ( | void | ) | const |
Definition at line 7309 of file dSparse.cc.
References Sparse< T >::data(), octave::math::isnan(), Sparse< T >::nnz(), and octave::math::x_nint().
bool SparseMatrix::all_elements_are_zero | ( | void | ) | const |
Definition at line 7297 of file dSparse.cc.
References Sparse< T >::data(), and Sparse< T >::nnz().
bool SparseMatrix::all_integers | ( | double & | max_val, |
double & | min_val | ||
) | const |
Definition at line 7329 of file dSparse.cc.
References Sparse< T >::data(), Sparse< T >::nnz(), and octave::math::x_nint().
Referenced by elem_xpow(), and octave_sparse_matrix::save_binary().
SparseBoolMatrix SparseMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 7405 of file dSparse.cc.
References SPARSE_ANY_OP.
bool SparseMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7267 of file dSparse.cc.
References Sparse< T >::data(), octave::math::isinf(), octave::math::isnan(), and Sparse< T >::nnz().
bool SparseMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7252 of file dSparse.cc.
References Sparse< T >::data(), octave::math::isnan(), and Sparse< T >::nnz().
Referenced by operator!(), and octave_sparse_matrix::sparse_bool_matrix_value().
bool SparseMatrix::any_element_is_negative | ( | bool | neg_zero = false | ) | const |
Definition at line 7231 of file dSparse.cc.
References Sparse< T >::data(), lo_ieee_signbit, and Sparse< T >::nnz().
Referenced by elem_xpow().
bool SparseMatrix::any_element_not_one_or_zero | ( | void | ) | const |
Definition at line 7282 of file dSparse.cc.
References Sparse< T >::data(), and Sparse< T >::nnz().
Referenced by octave_sparse_matrix::sparse_bool_matrix_value().
Definition at line 2688 of file Sparse.cc.
References retval, and Array< T >::xelem().
Referenced by Sparse< T >::assign(), binmap(), SparseComplexMatrix::matrix_value(), and matrix_value().
|
inherited |
Definition at line 1989 of file Sparse.cc.
References Sparse< T >::assign(), Sparse< T >::cidx(), idx_vector::colon, Sparse< T >::columns(), Sparse< T >::data(), octave::err_nonconformant(), idx_vector::extent(), idx_vector::increment(), Sparse< T >::index(), idx_vector::inverse_permutation(), idx_vector::is_colon(), idx_vector::is_colon_equiv(), idx_vector::is_cont_range(), idx_vector::is_permutation(), idx_vector::is_range(), idx_vector::isvector(), idx_vector::length(), m, mx_inline_add(), mx_inline_add2(), n, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER_INIT, retval, Sparse< T >::ridx(), Sparse< T >::rows(), idx_vector::sorted(), transpose(), and Sparse< T >::transpose().
|
inherited |
Definition at line 1837 of file Sparse.cc.
References Sparse< T >::array_value(), Array< T >::assign(), idx_vector::colon, Sparse< T >::cols(), idx_vector::copy_data(), Sparse< T >::data(), Sparse< T >::dims(), octave::err_nonconformant(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::increment(), Sparse< T >::index(), idx_vector::inverse_permutation(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_permutation(), idx_vector::is_range(), lblookup(), idx_vector::length(), mx_inline_add(), n, Sparse< T >::nnz(), numel(), Sparse< T >::numel(), Sparse< T >::reshape(), retval, Sparse< T >::ridx(), and idx_vector::sorted().
Referenced by Sparse< T >::assign().
|
private |
Definition at line 4880 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), Sparse< T >::data(), 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(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), retval, Sparse< T >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 4271 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), Sparse< T >::data(), 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(), retval, Sparse< T >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 5204 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), 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(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Matrix::row(), Sparse< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 4540 of file dSparse.cc.
References SparseMatrix(), Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::elem(), 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(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Matrix::row(), Sparse< T >::rows(), Matrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
|
inlineinherited |
Definition at line 263 of file Sparse.h.
Referenced by octave_base_sparse< T >::byte_size(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), and octave_sparse_matrix::try_narrowing_conversion().
|
staticinherited |
Definition at line 2590 of file Sparse.cc.
References Array< T >::assign(), Sparse< T >::cidx(), idx_vector::colon, Sparse< T >::columns(), dim_vector::concat(), Sparse< T >::data(), Sparse< T >::dims(), dim_vector::hvcat(), Array< T >::isempty(), Sparse< T >::isempty(), n, Sparse< T >::nnz(), retval, Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by single_type_concat().
|
inlineinherited |
Definition at line 454 of file Sparse.h.
References Sparse< T >::SparseRep::change_length().
Referenced by Sparse< T >::Sparse().
|
inlineinherited |
Definition at line 345 of file Sparse.h.
References compute_index(), elem, and ra_idx.
|
inlineinherited |
Definition at line 401 of file Sparse.h.
References compute_index(), Sparse< T >::elem(), and ra_idx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 493 of file Sparse.h.
References Sparse< T >::SparseRep::cidx().
|
inlineinherited |
Definition at line 501 of file Sparse.h.
References Sparse< T >::SparseRep::ccidx().
|
inlineinherited |
Definition at line 492 of file Sparse.h.
References Sparse< T >::SparseRep::c.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix(), SparseComplexMatrix::abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), SparseComplexMatrix::determinant(), determinant(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), SparseComplexMatrix::factorize(), factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T >::insert(), SparseComplexMatrix::inverse(), inverse(), SparseComplexMatrix::ishermitian(), issymmetric(), SparseComplexMatrix::ltsolve(), ltsolve(), Sparse< T >::map(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), SparseComplexMatrix::operator!(), operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), SparseComplexMatrix::prod(), prod(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::row(), row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), SparseComplexMatrix::utsolve(), utsolve(), x_el_div(), and xpow().
|
inlineinherited |
Definition at line 503 of file Sparse.h.
References Sparse< T >::SparseRep::c.
|
inlineinherited |
Definition at line 251 of file Sparse.h.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix(), SparseComplexMatrix::abs(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseBoolMatrix::concat(), SparseComplexMatrix::concat(), concat(), octave_sparse_matrix::convert_to_str_internal(), SparseComplexMatrix::determinant(), determinant(), SparseComplexMatrix::dinverse(), dinverse(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), F__ilu0__(), F__iluc__(), F__ilutp__(), SparseComplexMatrix::factorize(), factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymamd(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T >::insert(), SparseComplexMatrix::inverse(), inverse(), SparseComplexMatrix::ishermitian(), issymmetric(), SparseComplexMatrix::ltsolve(), ltsolve(), octave_sparse_matrix::map(), max(), min(), SparseComplexMatrix::operator!(), operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), plus_or_minus(), product(), quotient(), read_sparse_matrix(), save_mat5_binary_element(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), SparseComplexMatrix::utsolve(), utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().
ColumnVector SparseMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 522 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::data(), retval, Sparse< T >::ridx(), and Sparse< T >::rows().
|
inlineinherited |
Definition at line 252 of file Sparse.h.
Referenced by Sparse< T >::assign(), Sparse< T >::cat(), SparseComplexMatrix::row(), and row().
|
inherited |
SparseComplexMatrix SparseMatrix::concat | ( | const SparseComplexMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 544 of file dSparse.cc.
References Sparse< T >::cols(), Array< T >::insert(), ra_idx, retval, and Sparse< T >::rows().
SparseMatrix SparseMatrix::concat | ( | const SparseMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 534 of file dSparse.cc.
References Sparse< T >::cols(), insert(), ra_idx, and Sparse< T >::rows().
Referenced by oct_catop_s_scm(), and oct_catop_s_sm().
SparseMatrix SparseMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 7411 of file dSparse.cc.
References SPARSE_CUMPROD.
SparseMatrix SparseMatrix::cumsum | ( | int | dim = -1 | ) | const |
|
inlineinherited |
Definition at line 471 of file Sparse.h.
References Sparse< T >::SparseRep::data().
|
inlineinherited |
Definition at line 475 of file Sparse.h.
References Sparse< T >::SparseRep::data().
|
inlineinherited |
Definition at line 470 of file Sparse.h.
References Sparse< T >::SparseRep::d.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix(), SparseComplexMatrix::abs(), all_elements_are_int_or_inf_or_nan(), SparseComplexMatrix::all_elements_are_real(), all_elements_are_zero(), SparseComplexMatrix::all_integers(), all_integers(), SparseComplexMatrix::any_element_is_inf_or_nan(), any_element_is_inf_or_nan(), SparseComplexMatrix::any_element_is_nan(), any_element_is_nan(), any_element_is_negative(), any_element_not_one_or_zero(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), SparseComplexMatrix::determinant(), determinant(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), SparseComplexMatrix::factorize(), factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T >::insert(), SparseComplexMatrix::ishermitian(), issymmetric(), SparseComplexMatrix::ltsolve(), ltsolve(), Sparse< T >::map(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::row(), row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), SparseComplexMatrix::utsolve(), utsolve(), x_el_div(), and xpow().
|
inlineinherited |
Definition at line 477 of file Sparse.h.
References Sparse< T >::SparseRep::d.
|
inherited |
Definition at line 1161 of file Sparse.cc.
References Sparse< T >::cidx(), idx_vector::colon, idx_vector::complement(), Sparse< T >::data(), octave::err_del_index_out_of_range(), idx_vector::extent(), idx_vector::is_colon_equiv(), idx_vector::is_cont_range(), lblookup(), idx_vector::length(), mx_inline_sub(), numel(), OCTAVE_LOCAL_BUFFER, idx_vector::orig_dimensions(), r, idx_vector::raw(), retval, Sparse< T >::ridx(), idx_vector::sorted(), and transpose().
Referenced by Sparse< T >::delete_elements().
|
inherited |
Definition at line 1262 of file Sparse.cc.
References Sparse< T >::cidx(), idx_vector::complement(), Sparse< T >::data(), Sparse< T >::delete_elements(), octave::err_del_index_out_of_range(), idx_vector::extent(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), mx_inline_sub(), Sparse< T >::nnz(), Sparse< T >::ridx(), transpose(), and Sparse< T >::transpose().
|
inherited |
Definition at line 1381 of file Sparse.cc.
References idx_vector::colon, and current_liboctave_error_handler.
DET SparseMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1020 of file dSparse.cc.
References determinant().
DET SparseMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcond, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1027 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), octave::math::isnan(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), octave::to_suitesparse_intptr(), and UMFPACK_DNAME.
DET SparseMatrix::determinant | ( | void | ) | const |
Definition at line 1012 of file dSparse.cc.
Referenced by determinant().
SparseMatrix SparseMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7472 of file dSparse.cc.
References MSparse< T >::diag().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 270 of file Sparse.h.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), Sparse< T >::Sparse(), Sparse< T >::assign(), binmap(), Sparse< T >::cat(), octave_base_sparse< T >::dims(), elem_xpow(), Fcomplex(), SparseComplexMatrix::max(), max(), SparseComplexMatrix::min(), and min().
|
private |
Definition at line 627 of file dSparse.cc.
References Sparse< T >::cols(), Array< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, retval, Sparse< T >::rows(), transpose(), and MatrixType::type().
Referenced by inverse().
|
private |
Definition at line 1308 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), and MatrixType::type().
|
private |
Definition at line 1159 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), MatrixType::Permuted_Diagonal, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), and MatrixType::type().
Referenced by solve().
|
private |
Definition at line 1367 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), Sparse< T >::nnz(), MatrixType::Permuted_Diagonal, retval, Sparse< T >::ridx(), Sparse< T >::rows(), and MatrixType::type().
|
private |
Definition at line 1219 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, Inf, MatrixType::info(), Sparse< T >::nnz(), MatrixType::Permuted_Diagonal, retval, Sparse< T >::ridx(), Sparse< T >::rows(), and MatrixType::type().
|
inlineinherited |
Definition at line 367 of file Sparse.h.
References compute_index(), Sparse< T >::elem(), and ra_idx.
|
inlineinherited |
Definition at line 415 of file Sparse.h.
References compute_index(), Sparse< T >::elem(), and ra_idx.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 355 of file Sparse.h.
References n.
Referenced by SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::checkelem(), Sparse< T >::elem(), SparseComplexMatrix::fsolve(), fsolve(), SparseComplexMatrix::max(), max(), SparseComplexMatrix::min(), min(), plus_or_minus(), product(), and quotient().
|
inlineinherited |
|
private |
Definition at line 5589 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), octave::math::isnan(), Sparse< T >::ridx(), Sparse< T >::rows(), octave::to_suitesparse_intptr(), UMFPACK_DNAME, and octave::warn_singular_matrix().
Referenced by fsolve().
|
private |
Definition at line 6205 of file dSparse.cc.
References A, B, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CHOLMOD_NAME, Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), 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 >::nnz(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_DNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 5717 of file dSparse.cc.
References A, B, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CHOLMOD_NAME, Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), 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 >::nnz(), Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_DNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 6445 of file dSparse.cc.
References A, B, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CHOLMOD_NAME, Sparse< T >::cidx(), Sparse< T >::cols(), 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 >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_DNAME, and octave::warn_singular_matrix().
|
private |
Definition at line 5937 of file dSparse.cc.
References SparseMatrix(), A, B, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CHOLMOD_NAME, Sparse< T >::cidx(), Sparse< T >::cols(), 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 >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< T >::rows(), solve(), SparseCholError(), SparseCholPrint(), octave::to_suitesparse_intptr(), MatrixType::type(), UMFPACK_DNAME, and octave::warn_singular_matrix().
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 132 of file dSparse.h.
References transpose().
Referenced by octave::math::sparse_chol< chol_type >::inverse().
|
inherited |
Definition at line 1393 of file Sparse.cc.
References idx_vector::as_array(), Array< T >::as_matrix(), idx_vector::colon, Array< T >::cols(), Array< T >::data(), elem, octave::err_index_out_of_range(), idx_vector::extent(), idx_vector::increment(), Array< T >::index(), Sparse< T >::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::is_permutation(), idx_vector::is_range(), idx_vector::is_scalar(), idx_vector::isvector(), lblookup(), mx_inline_sub(), numel(), idx_vector::orig_dimensions(), dim_vector::redim(), Sparse< T >::resize1(), retval, Array< T >::rows(), Array< T >::transpose(), and Array< T >::xelem().
Referenced by Sparse< T >::assign(), F__ilutp__(), SparseBoolMatrix::index(), and Sparse< T >::index().
|
inherited |
Definition at line 1593 of file Sparse.cc.
References idx_vector::colon, Array< T >::data(), octave::err_index_out_of_range(), idx_vector::extent(), idx_vector::increment(), Array< T >::index(), Sparse< T >::index(), idx_vector::inverse_permutation(), idx_vector::is_colon(), idx_vector::is_colon_equiv(), idx_vector::is_cont_range(), idx_vector::is_permutation(), idx_vector::is_range(), idx_vector::is_scalar(), idx_vector::isvector(), lblookup(), idx_vector::length(), m, mx_inline_sub(), n, OCTAVE_LOCAL_BUFFER, idx_vector::raw(), Sparse< T >::resize(), retval, transpose(), and Array< T >::transpose().
|
inlineinherited |
Definition at line 645 of file Sparse.h.
References Sparse< T >::SparseRep::indices_ok().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 1094 of file Sparse.cc.
References octave_base_value::numel(), and ra_idx.
|
inherited |
Definition at line 1013 of file Sparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), r, Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by MSparse< T >::insert(), and SparseBoolMatrix::insert().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 179 of file dSparse.cc.
References MSparse< T >::insert().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 171 of file dSparse.cc.
References MSparse< T >::insert(), and r.
Referenced by concat().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 612 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 620 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcond, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 928 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), MatrixType::Diagonal, dinverse(), Inf, MatrixType::ishermitian(), octave::math::sparse_chol< chol_type >::L(), octave::math::sparse_lu< lu_type >::L(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), n, Sparse< T >::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< T >::ridx(), Sparse< T >::rows(), tinverse(), transpose(), MatrixType::transpose(), MatrixType::type(), octave::math::sparse_lu< lu_type >::U(), MatrixType::Unknown, MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseMatrix SparseMatrix::inverse | ( | void | ) | const |
Definition at line 603 of file dSparse.cc.
SparseMatrix SparseMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 7531 of file dSparse.cc.
References MSparse< T >::ipermute().
|
inlineinherited |
Definition at line 466 of file Sparse.h.
Referenced by Sparse< T >::cat(), and LuAminusSigmaB().
|
inlineinherited |
bool SparseMatrix::issymmetric | ( | void | ) | const |
Definition at line 131 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by F__eigs__().
|
private |
Definition at line 3035 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 2482 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 3289 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 2735 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), and octave::warn_singular_matrix().
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 581 of file Sparse.h.
References Sparse< T >::cidx(), Sparse< T >::data(), Sparse< T >::maybe_compress(), and Sparse< T >::ridx().
Matrix SparseMatrix::matrix_value | ( | void | ) | const |
Definition at line 7478 of file dSparse.cc.
References Sparse< T >::array_value().
Referenced by octave_sparse_matrix::array_value(), octave_sparse_matrix::bool_array_value(), octave_sparse_matrix::complex_array_value(), octave_sparse_matrix::complex_matrix_value(), octave_sparse_matrix::matrix_value(), and octave_sparse_matrix::try_narrowing_conversion().
SparseMatrix SparseMatrix::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 193 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::data(), Sparse< T >::dims(), Array< T >::elem(), Sparse< T >::elem(), dim_vector::first_non_singleton(), octave::math::isnan(), NaN, dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), Sparse< T >::ridx(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseMatrix SparseMatrix::max | ( | int | dim = -1 | ) | const |
Definition at line 186 of file dSparse.cc.
|
inlineinherited |
Definition at line 430 of file Sparse.h.
References Sparse< T >::SparseRep::maybe_compress().
Referenced by elem_xpow(), Sparse< T >::map(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), octave_sparse_bool_matrix::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), and octave_sparse_matrix::save_hdf5().
|
inlineinherited |
Definition at line 526 of file Sparse.h.
Referenced by octave_base_sparse< T >::mex_get_data().
|
inlineinherited |
Definition at line 528 of file Sparse.h.
Referenced by octave_base_sparse< T >::mex_get_ir().
|
inlineinherited |
Definition at line 533 of file Sparse.h.
Referenced by octave_base_sparse< T >::mex_get_jc().
SparseMatrix SparseMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 344 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::data(), Sparse< T >::dims(), Array< T >::elem(), Sparse< T >::elem(), dim_vector::first_non_singleton(), octave::math::isnan(), NaN, dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T >::resize(), Sparse< T >::ridx(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseMatrix SparseMatrix::min | ( | int | dim = -1 | ) | const |
Definition at line 337 of file dSparse.cc.
|
inlineinherited |
Definition at line 505 of file Sparse.h.
References dim_vector::ndims().
Referenced by octave_base_sparse< T >::octave_base_sparse().
|
inlineinherited |
Actual number of nonzero terms.
Definition at line 238 of file Sparse.h.
References Sparse< T >::SparseRep::nnz().
Referenced by MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix(), SparseComplexMatrix::abs(), abs(), all_elements_are_int_or_inf_or_nan(), SparseComplexMatrix::all_elements_are_real(), all_elements_are_zero(), SparseComplexMatrix::all_integers(), all_integers(), SparseComplexMatrix::any_element_is_inf_or_nan(), any_element_is_inf_or_nan(), SparseComplexMatrix::any_element_is_nan(), any_element_is_nan(), Sparse< T >::SparseRep::any_element_is_nan(), any_element_is_negative(), any_element_not_one_or_zero(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::cat(), Sparse< T >::delete_elements(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), Fccolamd(), Fcolamd(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), octave_sparse_matrix::index_vector(), Sparse< T >::SparseRep::indices_ok(), Sparse< T >::insert(), SparseComplexMatrix::inverse(), inverse(), SparseComplexMatrix::ltsolve(), ltsolve(), max(), min(), octave_base_sparse< T >::nnz(), SparseComplexMatrix::operator!(), operator!(), operator-(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), plus_or_minus(), product(), quotient(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), SparseComplexMatrix::utsolve(), utsolve(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().
|
inlineinherited |
Definition at line 242 of file Sparse.h.
References dim_vector::safe_numel().
Referenced by Sparse< T >::assign(), elem_xpow(), and octave_sparse_matrix::index_vector().
|
inlineinherited |
Amount of storage for nonzero elements.
This may differ from the actual number of elements, see nnz().
Definition at line 235 of file Sparse.h.
References Sparse< T >::SparseRep::length().
Referenced by dmperm_internal(), octave_base_sparse< T >::nzmax(), read_sparse_matrix(), and save_mat5_binary_element().
SparseBoolMatrix SparseMatrix::operator! | ( | void | ) | const |
Definition at line 7363 of file dSparse.cc.
References any_element_is_nan(), Sparse< T >::cidx(), Sparse< T >::cols(), octave::err_nan_to_logical_conversion(), Sparse< T >::nnz(), r, Sparse< T >::ridx(), and Sparse< T >::rows().
bool SparseMatrix::operator!= | ( | const SparseMatrix & | a | ) | const |
Definition at line 125 of file dSparse.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 96 of file dSparse.h.
References MSparse< T >::operator=().
bool SparseMatrix::operator== | ( | const SparseMatrix & | a | ) | const |
Definition at line 101 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
SparseMatrix SparseMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 7525 of file dSparse.cc.
References MSparse< T >::permute().
|
inherited |
SparseMatrix SparseMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7423 of file dSparse.cc.
References Sparse< T >::cidx(), prod(), Sparse< T >::rows(), SPARSE_REDUCTION_OP, and transpose().
|
inherited |
Definition at line 802 of file Sparse.cc.
References n, octave_base_value::numel(), and ra_idx.
|
inherited |
Definition at line 778 of file Sparse.cc.
References n, octave_base_value::numel(), and ra_idx.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
SparseMatrix SparseMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 7519 of file dSparse.cc.
References MSparse< T >::reshape().
|
inherited |
Definition at line 951 of file Sparse.cc.
References n, and dim_vector::ndims().
|
inherited |
Definition at line 963 of file Sparse.cc.
Referenced by octave_base_sparse< T >::octave_base_sparse(), Sparse< T >::index(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), and octave_sparse_matrix::load_hdf5().
|
inherited |
Definition at line 932 of file Sparse.cc.
References octave::err_invalid_resize(), max(), and n.
Referenced by Sparse< T >::index().
|
inlineinherited |
Definition at line 480 of file Sparse.h.
References Sparse< T >::SparseRep::ridx().
|
inlineinherited |
Definition at line 488 of file Sparse.h.
References Sparse< T >::SparseRep::cridx().
|
inlineinherited |
Definition at line 479 of file Sparse.h.
References Sparse< T >::SparseRep::r.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix(), SparseComplexMatrix::abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), SparseComplexMatrix::determinant(), determinant(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), SparseComplexMatrix::factorize(), factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T >::insert(), SparseComplexMatrix::inverse(), inverse(), SparseComplexMatrix::ishermitian(), issymmetric(), SparseComplexMatrix::ltsolve(), ltsolve(), Sparse< T >::map(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), SparseComplexMatrix::operator!(), operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::row(), row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), SparseComplexMatrix::utsolve(), utsolve(), x_el_div(), and xpow().
|
inlineinherited |
Definition at line 490 of file Sparse.h.
References Sparse< T >::SparseRep::r.
RowVector SparseMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 503 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), retval, and Sparse< T >::ridx().
|
inlineinherited |
Definition at line 250 of file Sparse.h.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), SparseComplexMatrix::abs(), Sparse< T >::assign(), binmap(), SparseComplexMatrix::bsolve(), bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), column(), SparseBoolMatrix::concat(), SparseComplexMatrix::concat(), concat(), octave_sparse_matrix::convert_to_str_internal(), SparseComplexMatrix::determinant(), determinant(), SparseComplexMatrix::dinverse(), dinverse(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), dsolve(), elem_xpow(), SparseComplexMatrix::factorize(), factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), fsolve(), Fsymamd(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T >::insert(), SparseComplexMatrix::inverse(), inverse(), SparseComplexMatrix::ishermitian(), issymmetric(), SparseComplexMatrix::ltsolve(), ltsolve(), octave_sparse_matrix::map(), max(), min(), SparseComplexMatrix::operator!(), operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), operator==(), plus_or_minus(), SparseComplexMatrix::prod(), prod(), product(), quotient(), read_sparse_matrix(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), tinverse(), SparseComplexMatrix::trisolve(), trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), SparseComplexMatrix::utsolve(), utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7166 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7173 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7180 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7187 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7197 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7205 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7212 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7219 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7112 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7119 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7126 of file dSparse.cc.
References solve().
Definition at line 7051 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7059 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7066 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7073 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7135 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7143 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7150 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7157 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7081 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7089 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7097 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7104 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b | ||
) | const |
Definition at line 6985 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6992 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7000 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7007 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 7017 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 7025 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7033 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7041 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6855 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6863 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6871 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::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 6878 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseMatrix, ComplexMatrix >(), dsolve(), 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().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b | ||
) | const |
Definition at line 6725 of file dSparse.cc.
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6733 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6741 of file dSparse.cc.
References solve().
Matrix SparseMatrix::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 6748 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< Matrix, SparseMatrix, Matrix >(), dsolve(), 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 SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b | ||
) | const |
Definition at line 6920 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6928 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6936 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallabck = true |
||
) | const |
Definition at line 6943 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< SparseComplexMatrix, SparseMatrix, SparseComplexMatrix >(), dsolve(), 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().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b | ||
) | const |
Definition at line 6790 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6798 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6806 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::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 6813 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dmsolve< SparseMatrix, SparseMatrix, SparseMatrix >(), dsolve(), 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().
|
inherited |
Definition at line 2310 of file Sparse.cc.
References Array< octave_idx_type >, ASCENDING, current_liboctave_error_handler, DESCENDING, m, OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and Array< T >::transpose().
|
inherited |
Definition at line 2244 of file Sparse.cc.
References ASCENDING, current_liboctave_error_handler, DESCENDING, m, octave_sort< T >::set_compare(), and octave_sort< T >::sort().
Referenced by octave_base_sparse< T >::sort().
SparseMatrix SparseMatrix::squeeze | ( | void | ) | const |
Definition at line 7513 of file dSparse.cc.
References MSparse< T >::squeeze().
SparseMatrix SparseMatrix::sum | ( | int | dim = -1 | ) | const |
SparseMatrix SparseMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 7441 of file dSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 559 of file Sparse.h.
Referenced by SparseComplexMatrix::too_large_for_float(), and too_large_for_float().
|
private |
Definition at line 677 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::data(), MatrixType::info(), MatrixType::Lower, Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), and MatrixType::Upper.
Referenced by inverse().
bool SparseMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7357 of file dSparse.cc.
References Sparse< T >::test_any(), and xtoo_large_for_float().
Referenced by octave_sparse_matrix::save_binary().
|
inline |
Definition at line 128 of file dSparse.h.
References MSparse< T >::transpose().
Referenced by dinverse(), SparseComplexMatrix::inverse(), inverse(), octave::math::sparse_chol< chol_type >::inverse(), LuAminusSigmaB(), make_cholb(), oct_unop_transpose(), prod(), read_mat_binary_data(), and xdiv().
|
private |
Definition at line 3911 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), Sparse< T >::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, retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 3591 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), Sparse< T >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
private |
Definition at line 4081 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 3757 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), and octave::warn_singular_matrix().
|
private |
Definition at line 1966 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 1456 of file dSparse.cc.
References Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Array< T >::resize(), retval, Sparse< T >::ridx(), Array< T >::rows(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 2198 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
|
private |
Definition at line 1685 of file dSparse.cc.
References SparseMatrix(), Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, retval, Sparse< T >::ridx(), Sparse< T >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
|
inlineinherited |
Definition at line 499 of file Sparse.h.
References Sparse< T >::SparseRep::cidx().
|
inlineinherited |
Definition at line 498 of file Sparse.h.
References Sparse< T >::SparseRep::c.
Referenced by Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), mxArray_sparse::as_octave_value(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), Famd(), Fccolamd(), Fcolamd(), Fcsymamd(), Fetree(), Fsymamd(), Fsymbfact(), Fsymrcm(), SparseComplexMatrix::inverse(), inverse(), LuAminusSigmaB(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
inlineinherited |
Definition at line 473 of file Sparse.h.
References Sparse< T >::SparseRep::data().
|
inlineinherited |
Definition at line 472 of file Sparse.h.
References Sparse< T >::SparseRep::d.
Referenced by Sparse< T >::Sparse(), mxArray_sparse::as_octave_value(), dmsolve_insert(), dmsolve_permute(), Fsymbfact(), SparseComplexMatrix::inverse(), inverse(), LuAminusSigmaB(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), read_mat5_binary_element(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
inlineinherited |
Definition at line 313 of file Sparse.h.
References compute_index(), and ra_idx.
|
inlineinherited |
Definition at line 316 of file Sparse.h.
References compute_index(), and ra_idx.
|
inlineinherited |
Definition at line 307 of file Sparse.h.
References Sparse< T >::SparseRep::elem().
|
inlineinherited |
Definition at line 308 of file Sparse.h.
References Sparse< T >::SparseRep::celem().
|
inlineinherited |
Definition at line 293 of file Sparse.h.
References n.
Referenced by elem_xpow(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().
|
inlineinherited |
|
inlineinherited |
Definition at line 486 of file Sparse.h.
References Sparse< T >::SparseRep::ridx().
|
inlineinherited |
Definition at line 485 of file Sparse.h.
References Sparse< T >::SparseRep::r.
Referenced by Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), mxArray_sparse::as_octave_value(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), Famd(), Fccolamd(), Fcolamd(), Fcsymamd(), Fetree(), Fsymamd(), Fsymbfact(), Fsymrcm(), SparseComplexMatrix::inverse(), inverse(), LuAminusSigmaB(), SparseComplexMatrix::max(), max(), max(), SparseComplexMatrix::min(), min(), min(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
friend |
Definition at line 575 of file dSparse.cc.
|
friend |
Definition at line 7483 of file dSparse.cc.
|
friend |
Definition at line 7505 of file dSparse.cc.
|
friend |
Definition at line 554 of file dSparse.cc.
|
inherited |
Definition at line 160 of file Sparse.h.
Referenced by Sparse< T >::Sparse(), and Sparse< T >::operator=().
Definition at line 158 of file Sparse.h.
Referenced by Sparse< T >::Sparse(), and Sparse< T >::operator=().