#include "CSparse.h"
Public Types | |
typedef ComplexMatrix | 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 &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | bsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | bsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | bsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | dinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const |
ComplexMatrix | dsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | dsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | dsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | dsolve (MatrixType &mattype, 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) const |
ComplexMatrix | fsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | fsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | fsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | fsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | ltsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | ltsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | ltsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | ltsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | tinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const |
ComplexMatrix | trisolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | trisolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | trisolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | trisolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | utsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
ComplexMatrix | utsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | utsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const |
SparseComplexMatrix | utsolve (MatrixType &mattype, 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 | |
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) |
|
inherited |
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 >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), and Sparse< T >::ridx().
|
explicit |
Definition at line 93 of file CSparse.cc.
References Sparse< T >::cidx(), DiagArray2< T >::cols(), Sparse< T >::data(), DiagArray2< T >::length(), and Sparse< T >::ridx().
|
inline |
SparseMatrix SparseComplexMatrix::abs | ( | void | ) | const |
Definition at line 7452 of file CSparse.cc.
References abs(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::data(), Sparse< T >::nnz(), retval, Sparse< T >::ridx(), and Sparse< T >::rows().
SparseBoolMatrix SparseComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7393 of file CSparse.cc.
References SPARSE_ALL_OP.
bool SparseComplexMatrix::all_elements_are_real | ( | void | ) | const |
Definition at line 7337 of file CSparse.cc.
References Sparse< T >::data(), mx_inline_all_real(), and Sparse< T >::nnz().
Referenced by octave_sparse_complex_matrix::sparse_bool_matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
bool SparseComplexMatrix::all_integers | ( | double & | max_val, |
double & | min_val | ||
) | const |
Definition at line 7347 of file CSparse.cc.
References Sparse< T >::data(), Sparse< T >::nnz(), real(), and octave::math::x_nint().
Referenced by octave_sparse_complex_matrix::save_binary().
SparseBoolMatrix SparseComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 7399 of file CSparse.cc.
References SPARSE_ANY_OP.
bool SparseComplexMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7320 of file CSparse.cc.
References Sparse< T >::data(), octave::math::isinf(), octave::math::isnan(), and Sparse< T >::nnz().
bool SparseComplexMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7305 of file CSparse.cc.
References Sparse< T >::data(), octave::math::isnan(), and Sparse< T >::nnz().
Referenced by operator!(), and octave_sparse_complex_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(), matrix_value(), and SparseMatrix::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 4930 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, 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(), 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().
|
private |
Definition at line 4321 of file CSparse.cc.
References abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, 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(), 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 5197 of file CSparse.cc.
References SparseComplexMatrix(), abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), 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 4591 of file CSparse.cc.
References SparseComplexMatrix(), abs(), ComplexMatrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::elem(), F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), 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(), SparseMatrix::SparseMatrix(), abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), prod(), SparseMatrix::prod(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::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(), SparseMatrix::SparseMatrix(), abs(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseBoolMatrix::concat(), concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), determinant(), SparseMatrix::determinant(), dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), F__ilu0__(), F__iluc__(), F__ilutp__(), factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), octave_sparse_matrix::map(), max(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::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(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), utsolve(), SparseMatrix::utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().
ComplexColumnVector SparseComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 534 of file CSparse.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(), row(), and SparseMatrix::row().
|
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 >::cols(), insert(), ra_idx, and Sparse< T >::rows().
Referenced by oct_catop_scm_cm(), oct_catop_scm_cs(), oct_catop_scm_m(), and oct_catop_scm_s().
SparseComplexMatrix SparseComplexMatrix::concat | ( | const SparseMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 590 of file CSparse.cc.
References Sparse< T >::cols(), insert(), ra_idx, and Sparse< T >::rows().
SparseComplexMatrix SparseComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 7405 of file CSparse.cc.
References SPARSE_CUMPROD.
SparseComplexMatrix SparseComplexMatrix::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(), SparseMatrix::SparseMatrix(), abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), all_elements_are_real(), SparseMatrix::all_elements_are_zero(), all_integers(), SparseMatrix::all_integers(), any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), any_element_is_nan(), SparseMatrix::any_element_is_nan(), SparseMatrix::any_element_is_negative(), SparseMatrix::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(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::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(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::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.
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< 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_ZNAME.
ComplexDET SparseComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1071 of file CSparse.cc.
Referenced by determinant().
SparseComplexMatrix SparseComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7472 of file CSparse.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(), max(), SparseMatrix::max(), min(), and SparseMatrix::min().
|
private |
Definition at line 684 of file CSparse.cc.
References abs(), 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 1371 of file CSparse.cc.
References abs(), 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 1222 of file CSparse.cc.
References abs(), 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 1431 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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 1281 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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 bsolve(), SparseMatrix::bsolve(), Sparse< T >::checkelem(), Sparse< T >::elem(), fsolve(), SparseMatrix::fsolve(), max(), SparseMatrix::max(), min(), SparseMatrix::min(), plus_or_minus(), product(), and quotient().
|
inlineinherited |
|
private |
Definition at line 5544 of file CSparse.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_ZNAME, and octave::warn_singular_matrix().
Referenced by fsolve().
|
private |
Definition at line 6220 of file CSparse.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_ZNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
|
private |
Definition at line 5675 of file CSparse.cc.
References A, B, BEGIN_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, CHOLMOD_NAME, Sparse< T >::cidx(), Array< T >::cols(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), END_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE, factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), octave::math::isnan(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< 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_ZNAME, octave::warn_singular_matrix(), and Array< T >::xelem().
Referenced by solve().
|
private |
Definition at line 6446 of file CSparse.cc.
References SparseComplexMatrix(), 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_ZNAME, and octave::warn_singular_matrix().
|
private |
Definition at line 5922 of file CSparse.cc.
References SparseComplexMatrix(), 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_ZNAME, and octave::warn_singular_matrix().
|
inlineinherited |
|
inlineinherited |
SparseComplexMatrix SparseComplexMatrix::hermitian | ( | void | ) | const |
Definition at line 606 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), conj, Sparse< T >::data(), Sparse< T >::nnz(), retval, Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by inverse(), LuAminusSigmaB(), make_cholb(), oct_unop_hermitian(), and xdiv().
|
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 |
|
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().
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(), and r.
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.
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< T >::cidx(), Sparse< T >::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(), 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(), SparseMatrix::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().
SparseComplexMatrix SparseComplexMatrix::inverse | ( | void | ) | const |
Definition at line 660 of file CSparse.cc.
SparseComplexMatrix SparseComplexMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 7297 of file CSparse.cc.
References MSparse< T >::ipermute().
|
inlineinherited |
Definition at line 466 of file Sparse.h.
Referenced by Sparse< T >::cat(), and LuAminusSigmaB().
bool SparseComplexMatrix::ishermitian | ( | void | ) | const |
Definition at line 142 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), conj, Sparse< T >::data(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by F__eigs__().
|
inlineinherited |
|
private |
Definition at line 3094 of file CSparse.cc.
References abs(), 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 2544 of file CSparse.cc.
References abs(), 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 3346 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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 2793 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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().
ComplexMatrix SparseComplexMatrix::matrix_value | ( | void | ) | const |
Definition at line 600 of file CSparse.cc.
References Sparse< T >::array_value().
Referenced by octave_sparse_complex_matrix::complex_array_value(), octave_sparse_complex_matrix::complex_matrix_value(), octave_sparse_complex_matrix::matrix_value(), and octave_sparse_complex_matrix::try_narrowing_conversion().
SparseComplexMatrix SparseComplexMatrix::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 193 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T >::cidx(), Complex_NaN_result(), 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().
SparseComplexMatrix SparseComplexMatrix::max | ( | int | dim = -1 | ) | const |
Definition at line 186 of file CSparse.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().
SparseComplexMatrix SparseComplexMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 350 of file CSparse.cc.
References SparseComplexMatrix(), abs(), Sparse< T >::cidx(), Complex_NaN_result(), 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().
SparseComplexMatrix SparseComplexMatrix::min | ( | int | dim = -1 | ) | const |
Definition at line 343 of file CSparse.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(), SparseMatrix::SparseMatrix(), abs(), SparseMatrix::abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), all_elements_are_real(), SparseMatrix::all_elements_are_zero(), all_integers(), SparseMatrix::all_integers(), any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), any_element_is_nan(), SparseMatrix::any_element_is_nan(), Sparse< T >::SparseRep::any_element_is_nan(), SparseMatrix::any_element_is_negative(), SparseMatrix::any_element_not_one_or_zero(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), Sparse< T >::delete_elements(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), Fccolamd(), Fcolamd(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), octave_sparse_matrix::index_vector(), Sparse< T >::SparseRep::indices_ok(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ltsolve(), SparseMatrix::ltsolve(), max(), min(), octave_base_sparse< T >::nnz(), operator!(), SparseMatrix::operator!(), operator-(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::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(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::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 SparseComplexMatrix::operator! | ( | void | ) | const |
Definition at line 7245 of file CSparse.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 SparseComplexMatrix::operator!= | ( | const SparseComplexMatrix & | a | ) | const |
Definition at line 136 of file CSparse.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 107 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< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
SparseComplexMatrix SparseComplexMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 7291 of file CSparse.cc.
References MSparse< T >::permute().
|
inherited |
SparseComplexMatrix SparseComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7417 of file CSparse.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 |
SparseComplexMatrix SparseComplexMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 7285 of file CSparse.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(), SparseMatrix::SparseMatrix(), abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::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(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::utsolve(), x_el_div(), and xpow().
|
inlineinherited |
Definition at line 490 of file Sparse.h.
References Sparse< T >::SparseRep::r.
ComplexRowVector SparseComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 515 of file CSparse.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(), abs(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), SparseBoolMatrix::concat(), concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), determinant(), SparseMatrix::determinant(), dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), octave_sparse_matrix::map(), max(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), plus_or_minus(), prod(), SparseMatrix::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(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), utsolve(), SparseMatrix::utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7180 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7187 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7194 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 7201 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7211 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7219 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7227 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 7234 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7124 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7132 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 7139 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b | ) | const |
Definition at line 7061 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7069 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7076 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 7083 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7148 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7156 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7164 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 7171 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7092 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7100 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7108 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 7115 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b | ||
) | const |
Definition at line 6995 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 7002 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7010 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 7017 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 7027 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 7036 of file CSparse.cc.
References solve().
ComplexColumnVector SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7044 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 7051 of file CSparse.cc.
References ComplexMatrix::column(), and solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6864 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6872 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6880 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 6887 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, retval, 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 6734 of file CSparse.cc.
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6742 of file CSparse.cc.
References solve().
ComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6750 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 6757 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, retval, 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 6929 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6938 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6946 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 6953 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, retval, 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 6799 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6807 of file CSparse.cc.
References solve().
SparseComplexMatrix SparseComplexMatrix::solve | ( | MatrixType & | mattype, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6815 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 6822 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, 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().
SparseComplexMatrix SparseComplexMatrix::squeeze | ( | void | ) | const |
Definition at line 7279 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 7435 of file CSparse.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 too_large_for_float(), and SparseMatrix::too_large_for_float().
|
private |
Definition at line 734 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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 SparseComplexMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7385 of file CSparse.cc.
References Sparse< T >::test_any(), and xtoo_large_for_float().
Referenced by octave_sparse_complex_matrix::save_binary().
|
inline |
Definition at line 140 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< 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, real(), 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 3646 of file CSparse.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, real(), 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 4145 of file CSparse.cc.
References SparseComplexMatrix(), Sparse< T >::cidx(), 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(), 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 3815 of file CSparse.cc.
References SparseComplexMatrix(), Sparse< T >::cidx(), 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(), 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 2032 of file CSparse.cc.
References abs(), 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 1521 of file CSparse.cc.
References abs(), 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 2262 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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 1751 of file CSparse.cc.
References SparseComplexMatrix(), abs(), 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(), inverse(), SparseMatrix::inverse(), LuAminusSigmaB(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::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(), inverse(), SparseMatrix::inverse(), LuAminusSigmaB(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::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(), inverse(), SparseMatrix::inverse(), LuAminusSigmaB(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::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 640 of file CSparse.cc.
Referenced by hermitian(), and ishermitian().
|
friend |
Definition at line 7477 of file CSparse.cc.
|
friend |
Definition at line 7499 of file CSparse.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=().