#include "dSparse.h"
Public Types | |
typedef Matrix | dense_matrix_type |
typedef void(* | solve_singularity_handler) (double rcond) |
![]() | |
typedef T | element_type |
Friends | |
SparseMatrix | imag (const SparseComplexMatrix &a) |
std::ostream & | operator<< (std::ostream &os, const SparseMatrix &a) |
std::istream & | operator>> (std::istream &is, SparseMatrix &a) |
SparseMatrix | real (const SparseComplexMatrix &a) |
Additional Inherited Members | |
![]() | |
static Sparse< T, Alloc > | cat (int dim, octave_idx_type n, const Sparse< T, Alloc > *sparse_list) |
![]() | |
void | make_unique () |
![]() | |
dim_vector | m_dimensions |
Sparse< T, Alloc >::SparseRep * | m_rep |
typedef void(* SparseMatrix::solve_singularity_handler) (double rcond) |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
explicit |
Definition at line 62 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), and Sparse< T, Alloc >::ridx().
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
explicit |
Definition at line 78 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), DiagArray2< T >::cols(), Sparse< T, Alloc >::data(), DiagArray2< T >::length(), and Sparse< T, Alloc >::ridx().
|
inlineexplicit |
|
inline |
|
default |
SparseMatrix SparseMatrix::abs | ( | ) | const |
Definition at line 7379 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
SparseBoolMatrix SparseMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7319 of file dSparse.cc.
References SPARSE_ALL_OP.
bool SparseMatrix::all_elements_are_int_or_inf_or_nan | ( | ) | const |
Definition at line 7229 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
bool SparseMatrix::all_elements_are_zero | ( | ) | const |
Definition at line 7217 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Definition at line 7249 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Referenced by elem_xpow(), octave_sparse_matrix::save_binary(), and octave_sparse_matrix::save_hdf5().
SparseBoolMatrix SparseMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 7325 of file dSparse.cc.
References SPARSE_ANY_OP.
bool SparseMatrix::any_element_is_inf_or_nan | ( | ) | const |
Definition at line 7187 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
bool SparseMatrix::any_element_is_nan | ( | ) | const |
Definition at line 7172 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Referenced by operator!(), and octave_sparse_matrix::sparse_bool_matrix_value().
Definition at line 7151 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Referenced by elem_xpow().
bool SparseMatrix::any_element_not_one_or_zero | ( | ) | const |
Definition at line 7202 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
Referenced by octave_sparse_matrix::sparse_bool_matrix_value().
ColumnVector SparseMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 519 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
SparseComplexMatrix SparseMatrix::concat | ( | const SparseComplexMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 541 of file dSparse.cc.
References Sparse< T, Alloc >::cols(), SparseComplexMatrix::insert(), ra_idx, and Sparse< T, Alloc >::rows().
SparseMatrix SparseMatrix::concat | ( | const SparseMatrix & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 531 of file dSparse.cc.
References Sparse< T, Alloc >::cols(), insert(), ra_idx, and Sparse< T, Alloc >::rows().
SparseMatrix SparseMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 7331 of file dSparse.cc.
References cumprod(), and SPARSE_CUMPROD.
Referenced by cumprod().
SparseMatrix SparseMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 7337 of file dSparse.cc.
References cumsum(), and SPARSE_CUMSUM.
DET SparseMatrix::determinant | ( | ) | const |
Definition at line 1017 of file dSparse.cc.
References determinant().
Referenced by determinant(), determinant(), and Fdet().
DET SparseMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1025 of file dSparse.cc.
References determinant().
DET SparseMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcond, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1032 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Array< T, Alloc >::rwdata(), and UMFPACK_DNAME.
SparseMatrix SparseMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7392 of file dSparse.cc.
References MSparse< T >::diag().
|
inline |
Definition at line 129 of file dSparse.h.
References transpose().
Referenced by sparse_chol< chol_type >::inverse().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 176 of file dSparse.cc.
References MSparse< T >::insert().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 168 of file dSparse.cc.
References MSparse< T >::insert().
Referenced by concat().
SparseMatrix SparseMatrix::inverse | ( | ) | const |
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 617 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 625 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcond, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 933 of file dSparse.cc.
References SparseMatrix(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), MatrixType::Diagonal, MatrixType::ishermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), Sparse< T, Alloc >::nnz(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Q, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), transpose(), MatrixType::transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseMatrix SparseMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Definition at line 7451 of file dSparse.cc.
References MSparse< T >::ipermute().
bool SparseMatrix::issymmetric | ( | ) | const |
Definition at line 128 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
Referenced by F__eigs__().
Matrix SparseMatrix::matrix_value | ( | ) | const |
Definition at line 7398 of file dSparse.cc.
References Sparse< T, Alloc >::array_value().
Referenced by octave_sparse_matrix::array_value(), octave_sparse_matrix::bool_array_value(), octave_sparse_matrix::complex_array_value(), octave_sparse_matrix::complex_matrix_value(), and octave_sparse_matrix::matrix_value().
SparseMatrix SparseMatrix::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 190 of file dSparse.cc.
References SparseMatrix(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::elem(), dim_vector::first_non_singleton(), dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::resize(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseMatrix SparseMatrix::max | ( | int | dim = -1 | ) | const |
SparseMatrix SparseMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 341 of file dSparse.cc.
References SparseMatrix(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::elem(), dim_vector::first_non_singleton(), dim_vector::ndims(), OCTAVE_LOCAL_BUFFER, Array< T, Alloc >::resize(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
SparseMatrix SparseMatrix::min | ( | int | dim = -1 | ) | const |
SparseBoolMatrix SparseMatrix::operator! | ( | ) | const |
Definition at line 7283 of file dSparse.cc.
References any_element_is_nan(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
bool SparseMatrix::operator!= | ( | const SparseMatrix & | a | ) | const |
Definition at line 122 of file dSparse.cc.
|
inline |
Definition at line 91 of file dSparse.h.
References MSparse< T >::operator=().
bool SparseMatrix::operator== | ( | const SparseMatrix & | a | ) | const |
Definition at line 98 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
SparseMatrix SparseMatrix::permute | ( | const Array< octave_idx_type > & | vec, |
bool | inv = false |
||
) | const |
Definition at line 7445 of file dSparse.cc.
References MSparse< T >::permute().
SparseMatrix SparseMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7343 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), prod(), Sparse< T, Alloc >::rows(), SPARSE_REDUCTION_OP, and transpose().
SparseMatrix SparseMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Definition at line 7439 of file dSparse.cc.
References MSparse< T >::reshape().
RowVector SparseMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 500 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::ridx().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7086 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7093 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7100 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7107 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7117 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7125 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7132 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7139 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7032 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7039 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7046 of file dSparse.cc.
References solve().
Definition at line 6971 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 6979 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6986 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6993 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7055 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7063 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7070 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7077 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7001 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7009 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7017 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 7024 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b | ||
) | const |
Definition at line 6905 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6912 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6920 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6927 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 6937 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6945 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6953 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler | ||
) | const |
Definition at line 6961 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6783 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6791 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6799 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6806 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, MatrixType::Diagonal, dmsolve< ComplexMatrix, SparseMatrix, ComplexMatrix >(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b | ||
) | const |
Definition at line 6661 of file dSparse.cc.
References solve().
Referenced by solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), solve(), xdiv(), xdiv(), xdiv(), xdiv(), xleftdiv(), xleftdiv(), xleftdiv(), and xleftdiv().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6669 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6677 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6684 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, MatrixType::Diagonal, dmsolve< Matrix, SparseMatrix, Matrix >(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b | ||
) | const |
Definition at line 6844 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6852 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6860 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallabck = true |
||
) | const |
Definition at line 6867 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, MatrixType::Diagonal, dmsolve< SparseComplexMatrix, SparseMatrix, SparseComplexMatrix >(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b | ||
) | const |
Definition at line 6722 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6730 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6738 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true |
||
) | const |
Definition at line 6745 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, MatrixType::Diagonal, dmsolve< SparseMatrix, SparseMatrix, SparseMatrix >(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
SparseMatrix SparseMatrix::squeeze | ( | ) | const |
Definition at line 7433 of file dSparse.cc.
References MSparse< T >::squeeze().
SparseMatrix SparseMatrix::sum | ( | int | dim = -1 | ) | const |
SparseMatrix SparseMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 7361 of file dSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
bool SparseMatrix::too_large_for_float | ( | ) | const |
Definition at line 7277 of file dSparse.cc.
References Sparse< T, Alloc >::test_any().
Referenced by octave_sparse_matrix::save_binary(), and octave_sparse_matrix::save_hdf5().
|
inline |
Definition at line 125 of file dSparse.h.
References MSparse< T >::transpose().
Referenced by hermitian(), sparse_chol< chol_type >::inverse(), inverse(), prod(), read_mat_binary_data(), xdiv(), xdiv(), xdiv(), xdiv(), and xdiv().
|
friend |
Definition at line 572 of file dSparse.cc.
|
friend |
Definition at line 7403 of file dSparse.cc.
|
friend |
Definition at line 7425 of file dSparse.cc.
|
friend |
Definition at line 551 of file dSparse.cc.