#include "Sparse.h"
Classes | |
class | SparseRep |
Public Types | |
typedef T | element_type |
Static Public Member Functions | |
static OCTAVE_API Sparse< T, Alloc > | cat (int dim, octave_idx_type n, const Sparse< T, Alloc > *sparse_list) |
Protected Member Functions | |
void | make_unique (void) |
Protected Attributes | |
dim_vector | m_dimensions |
Sparse< T, Alloc >::SparseRep * | m_rep |
Static Private Member Functions | |
static OCTAVE_API Sparse< T, Alloc >::SparseRep * | nil_rep (void) |
typedef T Sparse< T, Alloc >::element_type |
Definition at line 259 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_count, and Sparse< T, Alloc >::m_rep.
|
inlineexplicit |
|
inlineexplicit |
|
explicit |
Definition at line 200 of file Sparse.cc.
References Sparse< T, Alloc >::m_dimensions, Sparse< T, Alloc >::m_rep, dim_vector::safe_numel(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 230 of file Sparse.cc.
References Sparse< T, Alloc >::cidx(), PermMatrix::col_perm_vec(), Sparse< T, Alloc >::data(), n, Sparse< T, Alloc >::ridx(), and PermMatrix::rows().
|
inline |
Definition at line 310 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_count, and Sparse< T, Alloc >::m_rep.
OCTAVE_API Sparse< T, Alloc >::Sparse | ( | const dim_vector & | dv | ) |
Definition at line 249 of file Sparse.cc.
References dim_vector::ndims().
OCTAVE_API Sparse< T, Alloc >::Sparse | ( | const Sparse< T, Alloc > & | a, |
const dim_vector & | dv | ||
) |
Definition at line 261 of file Sparse.cc.
References Sparse< T, Alloc >::cols(), and Sparse< T, Alloc >::rows().
OCTAVE_API Sparse< T, Alloc >::Sparse | ( | const Array< T > & | a, |
const octave::idx_vector & | r, | ||
const octave::idx_vector & | c, | ||
octave_idx_type | nr = -1 , |
||
octave_idx_type | nc = -1 , |
||
bool | sum_terms = true , |
||
octave_idx_type | nzm = -1 |
||
) |
OCTAVE_API Sparse< T, Alloc >::Sparse | ( | const Array< T > & | a | ) |
Definition at line 673 of file Sparse.cc.
References Sparse< T, Alloc >::cols(), Array< T, Alloc >::elem(), len, Sparse< T, Alloc >::m_dimensions, Sparse< T, Alloc >::m_rep, dim_vector::ndims(), Array< T, Alloc >::numel(), Sparse< T, Alloc >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
|
virtual |
|
inline |
Definition at line 751 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::any_element_is_nan(), and Sparse< T, Alloc >::m_rep.
OCTAVE_API Array< T > Sparse< T, Alloc >::array_value | ( | void | ) | const |
Definition at line 2766 of file Sparse.cc.
References Array< T, Alloc >::xelem().
Referenced by Sparse< T, Alloc >::assign(), binmap(), SparseComplexMatrix::matrix_value(), and SparseMatrix::matrix_value().
OCTAVE_API void Sparse< T, Alloc >::assign | ( | const octave::idx_vector & | i, |
const octave::idx_vector & | j, | ||
const Sparse< T, Alloc > & | rhs | ||
) |
Definition at line 2044 of file Sparse.cc.
References Sparse< T, Alloc >::assign(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::index(), m, mx_inline_add(), mx_inline_add2(), n, Sparse< T, Alloc >::nnz(), OCTAVE_LOCAL_BUFFER_INIT, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), transpose(), and Sparse< T, Alloc >::transpose().
OCTAVE_API void Sparse< T, Alloc >::assign | ( | const octave::idx_vector & | i, |
const octave::idx_vector & | j, | ||
const T & | rhs | ||
) |
OCTAVE_API void Sparse< T, Alloc >::assign | ( | const octave::idx_vector & | i, |
const Sparse< T, Alloc > & | rhs | ||
) |
Definition at line 1879 of file Sparse.cc.
References Sparse< T, Alloc >::array_value(), Array< T, Alloc >::assign(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), err_nonconformant(), Array< T, Alloc >::fortran_vec(), Sparse< T, Alloc >::index(), lblookup(), mx_inline_add(), n, Sparse< T, Alloc >::nnz(), numel(), Sparse< T, Alloc >::numel(), Sparse< T, Alloc >::reshape(), and Sparse< T, Alloc >::ridx().
Referenced by Sparse< T, Alloc >::assign(), octave_base_sparse< T >::assign(), and Sparse< T, Alloc >::cat().
OCTAVE_API void Sparse< T, Alloc >::assign | ( | const octave::idx_vector & | i, |
const T & | rhs | ||
) |
|
inline |
Definition at line 364 of file Sparse.h.
References Sparse< T, Alloc >::cols(), and Sparse< T, Alloc >::nzmax().
Referenced by octave_base_sparse< T >::byte_size().
|
static |
Definition at line 2666 of file Sparse.cc.
References Sparse< T, Alloc >::assign(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), dim_vector::concat(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), dim_vector::hvcat(), Sparse< T, Alloc >::isempty(), n, Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Referenced by single_type_concat().
|
inline |
Definition at line 556 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::change_length(), Sparse< T, Alloc >::m_rep, Sparse< T, Alloc >::make_unique(), and Sparse< T, Alloc >::nnz().
Referenced by SparseBoolMatrix::any(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Sparse< T, Alloc >::index(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), SparseBoolMatrix::sum(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), and SparseMatrix::utsolve().
|
inline |
Definition at line 446 of file Sparse.h.
References compute_index(), elem, ra_idx, and Sparse< T, Alloc >::range_error().
|
inline |
Definition at line 502 of file Sparse.h.
References compute_index(), Sparse< T, Alloc >::elem(), ra_idx, and Sparse< T, Alloc >::range_error().
|
inline |
Definition at line 435 of file Sparse.h.
References Sparse< T, Alloc >::dim1(), Sparse< T, Alloc >::dim2(), Sparse< T, Alloc >::make_unique(), Sparse< T, Alloc >::range_error(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 494 of file Sparse.h.
References Sparse< T, Alloc >::dim1(), Sparse< T, Alloc >::dim2(), Sparse< T, Alloc >::range_error(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 424 of file Sparse.h.
References Sparse< T, Alloc >::make_unique(), n, numel(), Sparse< T, Alloc >::range_error(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 486 of file Sparse.h.
References n, numel(), Sparse< T, Alloc >::range_error(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 597 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::cidx(), Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::make_unique().
|
inline |
Definition at line 605 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::ccidx(), and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 596 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_cidx, Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::make_unique().
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T, Alloc >::Sparse(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), SparseComplexMatrix::abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T, Alloc >::delete_elements(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xdiv(), elem_xpow(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymbfact(), Sparse< T, Alloc >::get_col_index(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ishermitian(), SparseMatrix::issymmetric(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), octave_base_sparse< T >::mex_get_jc(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), sparse_lu< lu_type >::Pc(), plus_or_minus(), sparse_lu< lu_type >::Pr(), SparseComplexMatrix::prod(), SparseMatrix::prod(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::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(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and xpow().
|
inline |
Definition at line 607 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_cidx, and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 352 of file Sparse.h.
References Sparse< T, Alloc >::dim2().
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T, Alloc >::Sparse(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), SparseComplexMatrix::abs(), Sparse< T, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::byte_size(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseBoolMatrix::concat(), SparseComplexMatrix::concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), SparseComplexMatrix::dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xdiv(), elem_xpow(), F__ilu0__(), F__iluc__(), F__ilutp__(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), Sparse< T, Alloc >::isempty(), SparseComplexMatrix::ishermitian(), SparseMatrix::issymmetric(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), octave_sparse_matrix::map(), max(), min(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), plus_or_minus(), product(), quotient(), read_sparse_matrix(), save_mat5_binary_element(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), and xpow().
|
inline |
Definition at line 353 of file Sparse.h.
References Sparse< T, Alloc >::dim2().
Referenced by Sparse< T, Alloc >::assign(), Sparse< T, Alloc >::cat(), SparseComplexMatrix::row(), and SparseMatrix::row().
OCTAVE_API octave_idx_type Sparse< T, Alloc >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const |
Definition at line 735 of file Sparse.cc.
References n, octave_base_value::numel(), and ra_idx.
|
inline |
Definition at line 575 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::data(), Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::make_unique().
|
inline |
Definition at line 579 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::data(), and Sparse< T, Alloc >::m_rep.
Definition at line 574 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_data, Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::make_unique().
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T, Alloc >::Sparse(), sparse_lu< lu_type >::sparse_lu(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), SparseComplexMatrix::abs(), SparseMatrix::abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), SparseComplexMatrix::all_elements_are_real(), SparseMatrix::all_elements_are_zero(), SparseComplexMatrix::all_integers(), SparseMatrix::all_integers(), SparseBoolMatrix::any(), SparseComplexMatrix::any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), SparseComplexMatrix::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, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T, Alloc >::delete_elements(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), SparseComplexMatrix::dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xdiv(), elem_xpow(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::ishermitian(), SparseMatrix::issymmetric(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), map_2_xldexp_sparse(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), octave_base_sparse< T >::mex_get_data(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), operator-(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), sparse_lu< lu_type >::Pc(), plus_or_minus(), sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), Sparse< T, Alloc >::test(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and xpow().
Definition at line 581 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_data, and Sparse< T, Alloc >::m_rep.
OCTAVE_API void Sparse< T, Alloc >::delete_elements | ( | const octave::idx_vector & | i | ) |
Definition at line 1196 of file Sparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), err_del_index_out_of_range(), lblookup(), mx_inline_sub(), numel(), OCTAVE_LOCAL_BUFFER, r, Sparse< T, Alloc >::ridx(), and transpose().
Referenced by Sparse< T, Alloc >::delete_elements().
OCTAVE_API void Sparse< T, Alloc >::delete_elements | ( | const octave::idx_vector & | i, |
const octave::idx_vector & | j | ||
) |
Definition at line 1298 of file Sparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::delete_elements(), err_del_index_out_of_range(), mx_inline_sub(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), transpose(), and Sparse< T, Alloc >::transpose().
OCTAVE_API void Sparse< T, Alloc >::delete_elements | ( | int | dim, |
const octave::idx_vector & | i | ||
) |
Definition at line 1419 of file Sparse.cc.
References current_liboctave_error_handler.
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2492 of file Sparse.cc.
References abs(), d, elem, and n.
Referenced by SparseBoolMatrix::diag(), and MSparse< T >::diag().
|
inline |
Definition at line 348 of file Sparse.h.
References Sparse< T, Alloc >::m_dimensions.
Referenced by Sparse< T, Alloc >::checkelem(), Sparse< T, Alloc >::issquare(), and Sparse< T, Alloc >::rows().
|
inline |
Definition at line 349 of file Sparse.h.
References Sparse< T, Alloc >::m_dimensions.
Referenced by Sparse< T, Alloc >::checkelem(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::columns(), and Sparse< T, Alloc >::issquare().
|
inline |
Definition at line 371 of file Sparse.h.
References Sparse< T, Alloc >::m_dimensions.
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), Sparse< T, Alloc >::assign(), binmap(), Sparse< T, Alloc >::cat(), octave_base_sparse< T >::dims(), elem_xpow(), Fcomplex(), map_2_xldexp_sparse(), SparseComplexMatrix::max(), SparseMatrix::max(), SparseComplexMatrix::min(), and SparseMatrix::min().
|
inline |
Definition at line 468 of file Sparse.h.
References compute_index(), Sparse< T, Alloc >::elem(), and ra_idx.
|
inline |
Definition at line 516 of file Sparse.h.
References compute_index(), Sparse< T, Alloc >::elem(), and ra_idx.
|
inline |
Definition at line 462 of file Sparse.h.
References Sparse< T, Alloc >::make_unique(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 514 of file Sparse.h.
References Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 456 of file Sparse.h.
References Sparse< T, Alloc >::make_unique(), n, and Sparse< T, Alloc >::xelem().
Referenced by SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::checkelem(), Sparse< T, Alloc >::elem(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::max(), SparseMatrix::max(), SparseComplexMatrix::min(), SparseMatrix::min(), plus_or_minus(), product(), and quotient().
|
inline |
Definition at line 512 of file Sparse.h.
References n, and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 356 of file Sparse.h.
References Sparse< T, Alloc >::cidx().
|
inline |
Definition at line 355 of file Sparse.h.
References Sparse< T, Alloc >::ridx().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::index | ( | const octave::idx_vector & | i, |
bool | resize_ok = false |
||
) | const |
Definition at line 1432 of file Sparse.cc.
References Array< T, Alloc >::as_matrix(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Array< T, Alloc >::cols(), Sparse< T, Alloc >::data(), elem, err_index_out_of_range(), Array< T, Alloc >::index(), Sparse< T, Alloc >::index(), lblookup(), mx_inline_sub(), numel(), dim_vector::redim(), Sparse< T, Alloc >::resize1(), Sparse< T, Alloc >::ridx(), Array< T, Alloc >::rows(), Sparse, Array< T, Alloc >::transpose(), Sparse< T, Alloc >::transpose(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), Array< T, Alloc >::xelem(), and Sparse< T, Alloc >::xridx().
Referenced by Sparse< T, Alloc >::assign(), F__ilutp__(), SparseBoolMatrix::index(), and Sparse< T, Alloc >::index().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::index | ( | const octave::idx_vector & | i, |
const octave::idx_vector & | j, | ||
bool | resize_ok = false |
||
) | const |
Definition at line 1633 of file Sparse.cc.
References Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), err_index_out_of_range(), Sparse< T, Alloc >::index(), lblookup(), m, mx_inline_sub(), n, OCTAVE_LOCAL_BUFFER, Sparse< T, Alloc >::resize(), Sparse< T, Alloc >::ridx(), transpose(), Sparse< T, Alloc >::transpose(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Definition at line 749 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::indices_ok(), and Sparse< T, Alloc >::m_rep.
OCTAVE_API Sparse< T, Alloc > & Sparse< T, Alloc >::insert | ( | const Sparse< T, Alloc > & | a, |
const Array< octave_idx_type > & | idx | ||
) |
Definition at line 1125 of file Sparse.cc.
References octave_base_value::numel(), and ra_idx.
OCTAVE_API Sparse< T, Alloc > & Sparse< T, Alloc >::insert | ( | const Sparse< T, Alloc > & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 1042 of file Sparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Referenced by MSparse< T >::insert(), and SparseBoolMatrix::insert().
|
inline |
Definition at line 545 of file Sparse.h.
References Sparse< T, Alloc >::permute().
Referenced by SparseBoolMatrix::ipermute(), and MSparse< T >::ipermute().
Definition at line 570 of file Sparse.h.
References Sparse< T, Alloc >::cols(), and Sparse< T, Alloc >::rows().
Referenced by Sparse< T, Alloc >::cat(), and LuAminusSigmaB().
Definition at line 568 of file Sparse.h.
References Sparse< T, Alloc >::dim1(), and Sparse< T, Alloc >::dim2().
|
inlineprotected |
Definition at line 234 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_count, Sparse< T, Alloc >::m_rep, and r.
Referenced by Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::checkelem(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::elem(), Sparse< T, Alloc >::maybe_compress(), and Sparse< T, Alloc >::ridx().
|
inline |
Definition at line 685 of file Sparse.h.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
|
inline |
Definition at line 531 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, Sparse< T, Alloc >::make_unique(), and Sparse< T, Alloc >::SparseRep::maybe_compress().
Referenced by binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), elem_xpow(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::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(), octave_sparse_matrix::save_hdf5(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), and SparseMatrix::utsolve().
|
inline |
Definition at line 609 of file Sparse.h.
References Sparse< T, Alloc >::m_dimensions, and dim_vector::ndims().
Referenced by octave_base_sparse< T >::octave_base_sparse().
|
inline |
Actual number of nonzero terms.
Definition at line 339 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::SparseRep::nnz().
Referenced by MatrixType::MatrixType(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), SparseComplexMatrix::abs(), SparseMatrix::abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), SparseComplexMatrix::all_elements_are_real(), SparseMatrix::all_elements_are_zero(), SparseComplexMatrix::all_integers(), SparseMatrix::all_integers(), SparseComplexMatrix::any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), SparseComplexMatrix::any_element_is_nan(), SparseMatrix::any_element_is_nan(), Sparse< T, Alloc >::SparseRep::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, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::delete_elements(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xpow(), Fccolamd(), Fcolamd(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), octave_sparse_matrix::index_vector(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), map_2_xldexp_sparse(), max(), min(), octave_base_sparse< T >::nnz(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), operator-(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), plus_or_minus(), product(), quotient(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), Sparse< T, Alloc >::test(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), and xpow().
|
inline |
Definition at line 343 of file Sparse.h.
References Sparse< T, Alloc >::m_dimensions, and dim_vector::safe_numel().
Referenced by Sparse< T, Alloc >::assign(), elem_xpow(), octave_sparse_matrix::index_vector(), map_2_xldexp_sparse(), and xpow().
|
inline |
Amount of storage for nonzero elements.
This may differ from the actual number of elements, see nnz().
Definition at line 336 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::SparseRep::nzmax().
Referenced by Sparse< T, Alloc >::byte_size(), dmperm_internal(), octave_base_sparse< T >::nzmax(), read_sparse_matrix(), and save_mat5_binary_element().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sparse< T, Alloc > & Sparse< T, Alloc >::operator= | ( | const Sparse< T, Alloc > & | a | ) |
Definition at line 716 of file Sparse.cc.
References Sparse< T, Alloc >::SparseRep::m_count, Sparse< T, Alloc >::m_dimensions, and Sparse< T, Alloc >::m_rep.
Referenced by MSparse< T >::operator=(), and SparseBoolMatrix::operator=().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 929 of file Sparse.cc.
References Array< T, Alloc >::numel(), and transpose().
Referenced by Sparse< T, Alloc >::ipermute(), SparseBoolMatrix::permute(), and MSparse< T >::permute().
OCTAVE_API void Sparse< T, Alloc >::print_info | ( | std::ostream & | os, |
const std::string & | prefix | ||
) | const |
OCTAVE_API T & Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 824 of file Sparse.cc.
References n, octave_base_value::numel(), and ra_idx.
OCTAVE_API T Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
const Array< octave_idx_type > & | ra_idx | ||
) | const |
Definition at line 799 of file Sparse.cc.
References n, octave_base_value::numel(), and ra_idx.
OCTAVE_API T & Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
octave_idx_type | i, | ||
octave_idx_type | j | ||
) |
OCTAVE_API T Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
octave_idx_type | i, | ||
octave_idx_type | j | ||
) | const |
OCTAVE_API T & Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
octave_idx_type | n | ||
) |
OCTAVE_API T Sparse< T, Alloc >::range_error | ( | const char * | fcn, |
octave_idx_type | n | ||
) | const |
Definition at line 759 of file Sparse.cc.
References n.
Referenced by Sparse< T, Alloc >::checkelem().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 849 of file Sparse.cc.
References dim_vector::ndims(), dim_vector::numel(), dim_vector::resize(), dim_vector::str(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Referenced by Sparse< T, Alloc >::assign(), SparseBoolMatrix::reshape(), and MSparse< T >::reshape().
OCTAVE_API void Sparse< T, Alloc >::resize | ( | const dim_vector & | dv | ) |
Definition at line 978 of file Sparse.cc.
References n, and dim_vector::ndims().
OCTAVE_API void Sparse< T, Alloc >::resize | ( | octave_idx_type | r, |
octave_idx_type | c | ||
) |
Definition at line 991 of file Sparse.cc.
Referenced by octave_base_sparse< T >::octave_base_sparse(), Sparse< T, Alloc >::index(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), and octave_sparse_matrix::load_hdf5().
OCTAVE_API void Sparse< T, Alloc >::resize1 | ( | octave_idx_type | n | ) |
Definition at line 958 of file Sparse.cc.
References err_invalid_resize(), max(), and n.
Referenced by Sparse< T, Alloc >::index().
|
inline |
Definition at line 584 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, Sparse< T, Alloc >::make_unique(), and Sparse< T, Alloc >::SparseRep::ridx().
|
inline |
Definition at line 592 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::cridx(), and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 583 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, Sparse< T, Alloc >::SparseRep::m_ridx, and Sparse< T, Alloc >::make_unique().
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T, Alloc >::Sparse(), SparseComplexMatrix::SparseComplexMatrix(), SparseMatrix::SparseMatrix(), SparseComplexMatrix::abs(), SparseBoolMatrix::any(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T, Alloc >::delete_elements(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xdiv(), elem_xpow(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymbfact(), Sparse< T, Alloc >::get_row_index(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ishermitian(), SparseMatrix::issymmetric(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), octave_base_sparse< T >::mex_get_ir(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), sparse_lu< lu_type >::Pc(), plus_or_minus(), sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), SparseComplexMatrix::row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), SparseBoolMatrix::sum(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and xpow().
|
inline |
Definition at line 594 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::SparseRep::m_ridx.
|
inline |
Definition at line 351 of file Sparse.h.
References Sparse< T, Alloc >::dim1().
Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T, Alloc >::Sparse(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix::abs(), Sparse< T, Alloc >::assign(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseComplexMatrix::column(), SparseMatrix::column(), SparseBoolMatrix::concat(), SparseComplexMatrix::concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), SparseComplexMatrix::dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xdiv(), elem_xpow(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::insert(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), Sparse< T, Alloc >::isempty(), SparseComplexMatrix::ishermitian(), SparseMatrix::issymmetric(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), Sparse< T, Alloc >::map(), octave_sparse_matrix::map(), max(), min(), SparseComplexMatrix::operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), SparseComplexMatrix::operator==(), SparseMatrix::operator==(), plus_or_minus(), SparseComplexMatrix::prod(), SparseMatrix::prod(), product(), quotient(), read_sparse_matrix(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), Sparse< T, Alloc >::xelem(), and xpow().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::sort | ( | Array< octave_idx_type > & | sidx, |
octave_idx_type | dim = 0 , |
||
sortmode | mode = ASCENDING |
||
) | const |
Definition at line 2384 of file Sparse.cc.
References ASCENDING, current_liboctave_error_handler, DESCENDING, m, OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and Array< T, Alloc >::transpose().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::sort | ( | octave_idx_type | dim = 0 , |
sortmode | mode = ASCENDING |
||
) | const |
Definition at line 2317 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().
|
inline |
Definition at line 373 of file Sparse.h.
Referenced by SparseBoolMatrix::squeeze(), and MSparse< T >::squeeze().
|
inline |
Definition at line 656 of file Sparse.h.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
|
inline |
Definition at line 663 of file Sparse.h.
Referenced by SparseComplexMatrix::too_large_for_float(), and SparseMatrix::too_large_for_float().
OCTAVE_API Sparse< T, Alloc > Sparse< T, Alloc >::transpose | ( | void | ) | const |
Definition at line 1138 of file Sparse.cc.
References Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Referenced by Sparse< T, Alloc >::assign(), Sparse< T, Alloc >::delete_elements(), Sparse< T, Alloc >::index(), SparseBoolMatrix::transpose(), and MSparse< T >::transpose().
|
inline |
Definition at line 603 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::cidx(), and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 602 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_cidx, and Sparse< T, Alloc >::m_rep.
Referenced by Sparse< T, Alloc >::Sparse(), sparse_lu< lu_type >::sparse_lu(), SparseBoolMatrix::any(), mxArray_separate_sparse::as_octave_value(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), Famd(), Fccolamd(), Fcolamd(), Fcsymamd(), Fetree(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), Fsymrcm(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), Sparse< T, Alloc >::reshape(), SparseBoolMatrix::sum(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), mxArray_base_sparse::to_ov(), Sparse< T, Alloc >::transpose(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
inline |
Definition at line 577 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::data(), and Sparse< T, Alloc >::m_rep.
Definition at line 576 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::m_data, and Sparse< T, Alloc >::m_rep.
Referenced by Sparse< T, Alloc >::Sparse(), mxArray_separate_sparse::as_octave_value(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymbfact(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), read_mat5_binary_element(), Sparse< T, Alloc >::reshape(), SparseBoolMatrix::sum(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), mxArray_base_sparse::to_ov(), Sparse< T, Alloc >::transpose(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
inline |
Definition at line 415 of file Sparse.h.
References compute_index(), ra_idx, and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 418 of file Sparse.h.
References compute_index(), ra_idx, and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 409 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::elem(), and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 410 of file Sparse.h.
References Sparse< T, Alloc >::SparseRep::celem(), and Sparse< T, Alloc >::m_rep.
|
inline |
Definition at line 395 of file Sparse.h.
References n, and Sparse< T, Alloc >::rows().
Referenced by Sparse< T, Alloc >::checkelem(), Sparse< T, Alloc >::elem(), elem_xpow(), map_2_xldexp_sparse(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 402 of file Sparse.h.
References n, Sparse< T, Alloc >::rows(), and Sparse< T, Alloc >::xelem().
|
inline |
Definition at line 590 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::SparseRep::ridx().
|
inline |
Definition at line 589 of file Sparse.h.
References Sparse< T, Alloc >::m_rep, and Sparse< T, Alloc >::SparseRep::m_ridx.
Referenced by Sparse< T, Alloc >::Sparse(), sparse_lu< lu_type >::sparse_lu(), mxArray_separate_sparse::as_octave_value(), binmap(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), Sparse< T, Alloc >::cat(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), Famd(), Fccolamd(), Fcolamd(), Fcsymamd(), Fetree(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), Fsymrcm(), SparseComplexMatrix::hermitian(), Sparse< T, Alloc >::index(), SparseComplexMatrix::inverse(), SparseMatrix::inverse(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), SparseComplexMatrix::max(), SparseMatrix::max(), max(), SparseComplexMatrix::min(), SparseMatrix::min(), min(), sparse_chol< chol_type >::sparse_chol_rep< chol_type >::Q(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R(), Sparse< T, Alloc >::reshape(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), mxArray_base_sparse::to_ov(), Sparse< T, Alloc >::transpose(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::V().
|
protected |
Definition at line 251 of file Sparse.h.
Referenced by Sparse< T, Alloc >::Sparse(), Sparse< T, Alloc >::dim1(), Sparse< T, Alloc >::dim2(), Sparse< T, Alloc >::dims(), Sparse< T, Alloc >::ndims(), Sparse< T, Alloc >::numel(), and Sparse< T, Alloc >::operator=().
|
protected |
Definition at line 249 of file Sparse.h.
Referenced by Sparse< T, Alloc >::Sparse(), Sparse< T, Alloc >::any_element_is_nan(), Sparse< T, Alloc >::change_capacity(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::indices_ok(), Sparse< T, Alloc >::make_unique(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::nzmax(), Sparse< T, Alloc >::operator=(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), Sparse< T, Alloc >::xelem(), and Sparse< T, Alloc >::xridx().