#include "dSparse.h"
Public Types | |
typedef Matrix | dense_matrix_type |
typedef void(* | solve_singularity_handler) (double rcond) |
Public Types inherited from Sparse< T, Alloc > | |
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 Public Member Functions inherited from Sparse< T, Alloc > | |
static Sparse< T, Alloc > | cat (int dim, octave_idx_type n, const Sparse< T, Alloc > *sparse_list) |
Protected Member Functions inherited from Sparse< T, Alloc > | |
void | make_unique () |
Protected Attributes inherited from Sparse< T, Alloc > | |
dim_vector | m_dimensions |
Sparse< T, Alloc >::SparseRep * | m_rep |
typedef void(* SparseMatrix::solve_singularity_handler) (double rcond) |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 65 of file dSparse.cc.
References Sparse< T, 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 81 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 7431 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
SparseBoolMatrix SparseMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 7371 of file dSparse.cc.
References SPARSE_ALL_OP.
bool SparseMatrix::all_elements_are_int_or_inf_or_nan | ( | ) | const |
Definition at line 7281 of file dSparse.cc.
References Sparse< T, Alloc >::data(), isnan(), Sparse< T, Alloc >::nnz(), and x_nint().
bool SparseMatrix::all_elements_are_zero | ( | ) | const |
Definition at line 7269 of file dSparse.cc.
References Sparse< T, Alloc >::data(), and Sparse< T, Alloc >::nnz().
bool SparseMatrix::all_integers | ( | double & | max_val, |
double & | min_val | ||
) | const |
Definition at line 7301 of file dSparse.cc.
References Sparse< T, Alloc >::data(), Sparse< T, Alloc >::nnz(), and x_nint().
Referenced by elem_xpow(), and octave_sparse_matrix::save_binary().
SparseBoolMatrix SparseMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 7377 of file dSparse.cc.
References SPARSE_ANY_OP.
bool SparseMatrix::any_element_is_inf_or_nan | ( | ) | const |
Definition at line 7239 of file dSparse.cc.
References Sparse< T, Alloc >::data(), isinf(), isnan(), and Sparse< T, Alloc >::nnz().
bool SparseMatrix::any_element_is_nan | ( | ) | const |
Definition at line 7224 of file dSparse.cc.
References Sparse< T, Alloc >::data(), isnan(), and Sparse< T, Alloc >::nnz().
Referenced by operator!(), and octave_sparse_matrix::sparse_bool_matrix_value().
bool SparseMatrix::any_element_is_negative | ( | bool | neg_zero = false | ) | const |
Definition at line 7203 of file dSparse.cc.
References Sparse< T, Alloc >::data(), lo_ieee_signbit, and Sparse< T, Alloc >::nnz().
bool SparseMatrix::any_element_not_one_or_zero | ( | ) | const |
Definition at line 7254 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 522 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 544 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 534 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 7383 of file dSparse.cc.
References SPARSE_CUMPROD.
SparseMatrix SparseMatrix::cumsum | ( | int | dim = -1 | ) | const |
DET SparseMatrix::determinant | ( | ) | const |
Definition at line 1012 of file dSparse.cc.
Referenced by determinant().
DET SparseMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1020 of file dSparse.cc.
References determinant().
DET SparseMatrix::determinant | ( | octave_idx_type & | info, |
double & | rcond, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1027 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), isnan(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), to_suitesparse_intptr(), and UMFPACK_DNAME.
SparseMatrix SparseMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 7444 of file dSparse.cc.
References MSparse< T >::diag().
|
inline |
Definition at line 130 of file dSparse.h.
Referenced by sparse_chol< chol_type >::inverse().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
const Array< octave_idx_type > & | indx | ||
) |
Definition at line 179 of file dSparse.cc.
References MSparse< T >::insert().
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 171 of file dSparse.cc.
References MSparse< T >::insert(), and r.
Referenced by concat().
SparseMatrix SparseMatrix::inverse | ( | ) | const |
Definition at line 603 of file dSparse.cc.
Referenced by inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 612 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 620 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
double & | rcond, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 928 of file dSparse.cc.
References SparseMatrix(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), MatrixType::Diagonal, Inf, MatrixType::ishermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), n, 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 7503 of file dSparse.cc.
References MSparse< T >::ipermute().
bool SparseMatrix::issymmetric | ( | ) | const |
Definition at line 131 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().
Matrix SparseMatrix::matrix_value | ( | ) | const |
Definition at line 7450 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 193 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(), isnan(), NaN, 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 |
Definition at line 186 of file dSparse.cc.
SparseMatrix SparseMatrix::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 344 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(), isnan(), NaN, 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 |
Definition at line 337 of file dSparse.cc.
SparseBoolMatrix SparseMatrix::operator! | ( | ) | const |
Definition at line 7335 of file dSparse.cc.
References any_element_is_nan(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), err_nan_to_logical_conversion(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
bool SparseMatrix::operator!= | ( | const SparseMatrix & | a | ) | const |
Definition at line 125 of file dSparse.cc.
|
inline |
Definition at line 92 of file dSparse.h.
References MSparse< T >::operator=().
bool SparseMatrix::operator== | ( | const SparseMatrix & | a | ) | const |
Definition at line 101 of file dSparse.cc.
References Sparse< T, 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 7497 of file dSparse.cc.
References MSparse< T >::permute().
SparseMatrix SparseMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 7395 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 7491 of file dSparse.cc.
References MSparse< T >::reshape().
RowVector SparseMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 503 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 7138 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7145 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7152 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 7159 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7169 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7177 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7184 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 7191 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 7084 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7091 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 7098 of file dSparse.cc.
References solve().
Definition at line 7023 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7031 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7038 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 7045 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7107 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7115 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7122 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 7129 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b | ) | const |
Definition at line 7053 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 7061 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, |
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7069 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 7076 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b | ||
) | const |
Definition at line 6957 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6964 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6972 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 6979 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b | ||
) | const |
Definition at line 6989 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6997 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 7005 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 7013 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b | ||
) | const |
Definition at line 6827 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6835 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const ComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6843 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 6850 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, qrsolve(), 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 6697 of file dSparse.cc.
Referenced by solve(), xdiv(), and xleftdiv().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6705 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, |
const Matrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6713 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 6720 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, qrsolve(), 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 6892 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6900 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6908 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 6915 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, qrsolve(), 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 6762 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 6770 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, |
const SparseMatrix & | b, | ||
octave_idx_type & | info, | ||
double & | rcond | ||
) | const |
Definition at line 6778 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 6785 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, qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
SparseMatrix SparseMatrix::squeeze | ( | ) | const |
Definition at line 7485 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 7413 of file dSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
bool SparseMatrix::too_large_for_float | ( | ) | const |
Definition at line 7329 of file dSparse.cc.
References Sparse< T, Alloc >::test_any(), and too_large_for_float().
Referenced by octave_sparse_matrix::save_binary().
|
inline |
Definition at line 126 of file dSparse.h.
References MSparse< T >::transpose().
Referenced by sparse_chol< chol_type >::inverse(), inverse(), prod(), read_mat_binary_data(), and xdiv().
|
friend |
Definition at line 575 of file dSparse.cc.
|
friend |
Definition at line 7455 of file dSparse.cc.
|
friend |
Definition at line 7477 of file dSparse.cc.
|
friend |
Definition at line 554 of file dSparse.cc.