#include "dSparse.h"
Definition at line 44 of file dSparse.h.
typedef void(* SparseMatrix::solve_singularity_handler)(double rcond) |
SparseMatrix::SparseMatrix | ( | void | ) | [inline] |
SparseMatrix::SparseMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inline] |
SparseMatrix::SparseMatrix | ( | const dim_vector & | dv, | |
octave_idx_type | nz = 0 | |||
) | [inline] |
SparseMatrix::SparseMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
double | val | |||
) | [inline, explicit] |
SparseMatrix::SparseMatrix | ( | const SparseMatrix & | a | ) | [inline] |
SparseMatrix::SparseMatrix | ( | const SparseMatrix & | a, | |
const dim_vector & | dv | |||
) | [inline] |
F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type Complex Complex Complex Complex const octave_idx_type octave_idx_type & SparseMatrix::SparseMatrix | ( | const SparseBoolMatrix & | a | ) | [explicit] |
Definition at line 149 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< double >::cols(), Sparse< T >::data(), Sparse< double >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< double >::ridx().
SparseMatrix::SparseMatrix | ( | const Matrix & | a | ) | [inline, explicit] |
SparseMatrix::SparseMatrix | ( | const NDArray & | a | ) | [inline, explicit] |
SparseMatrix::SparseMatrix | ( | const Array< double > & | a, | |
const idx_vector & | r, | |||
const idx_vector & | c, | |||
octave_idx_type | nr = -1 , |
|||
octave_idx_type | nc = -1 , |
|||
bool | sum_terms = true , |
|||
octave_idx_type | nzm = -1 | |||
) | [inline] |
SparseMatrix::SparseMatrix | ( | const DiagMatrix & | a | ) | [explicit] |
Definition at line 165 of file dSparse.cc.
References Sparse< double >::cidx(), DiagArray2< T >::cols(), Sparse< double >::data(), DiagArray2< T >::length(), and Sparse< double >::ridx().
SparseMatrix::SparseMatrix | ( | const PermMatrix & | a | ) | [inline, explicit] |
SparseMatrix::SparseMatrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
octave_idx_type | num_nz | |||
) | [inline] |
SparseMatrix SparseMatrix::abs | ( | void | ) | const |
Definition at line 7532 of file dSparse.cc.
References Sparse< T >::data(), and Sparse< double >::nnz().
SparseBoolMatrix SparseMatrix::all | ( | int | dim = -1 |
) | const |
Definition at line 7472 of file dSparse.cc.
References SPARSE_ALL_OP.
bool SparseMatrix::all_elements_are_int_or_inf_or_nan | ( | void | ) | const |
Definition at line 7371 of file dSparse.cc.
References D_NINT(), Sparse< double >::data(), Sparse< double >::nnz(), and xisnan().
bool SparseMatrix::all_elements_are_zero | ( | void | ) | const |
Definition at line 7359 of file dSparse.cc.
References Sparse< double >::data(), and Sparse< double >::nnz().
Definition at line 7391 of file dSparse.cc.
References D_NINT(), Sparse< double >::data(), and Sparse< double >::nnz().
Referenced by elem_xpow(), and octave_sparse_matrix::save_binary().
SparseBoolMatrix SparseMatrix::any | ( | int | dim = -1 |
) | const |
Definition at line 7478 of file dSparse.cc.
References SPARSE_ANY_OP.
bool SparseMatrix::any_element_is_inf_or_nan | ( | void | ) | const |
Definition at line 7329 of file dSparse.cc.
References Sparse< double >::data(), Sparse< double >::nnz(), xisinf(), and xisnan().
bool SparseMatrix::any_element_is_nan | ( | void | ) | const |
Definition at line 7314 of file dSparse.cc.
References Sparse< double >::data(), Sparse< double >::nnz(), and xisnan().
Referenced by operator!(), and octave_sparse_matrix::sparse_bool_matrix_value().
Definition at line 7293 of file dSparse.cc.
References Sparse< double >::data(), lo_ieee_signbit, and Sparse< double >::nnz().
Referenced by elem_xpow().
bool SparseMatrix::any_element_not_one_or_zero | ( | void | ) | const |
Definition at line 7344 of file dSparse.cc.
References Sparse< double >::data(), and Sparse< double >::nnz().
Referenced by octave_sparse_matrix::sparse_bool_matrix_value().
Referenced by matrix_value().
void Sparse< double >::assign | ( | const idx_vector & | i, | |
const Sparse< double > & | rhs | |||
) | [inherited] |
void Sparse< double >::assign | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
const Sparse< double > & | rhs | |||
) | [inherited] |
ComplexMatrix SparseMatrix::bsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5027 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), imag, MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, real, ComplexMatrix::resize(), Sparse< double >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< double >::rows(), Matrix::sum(), MatrixType::type(), and xisnan().
SparseMatrix SparseMatrix::bsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4709 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), Sparse< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< double >::ridx(), Matrix::row(), Sparse< T >::rows(), Sparse< double >::rows(), SparseMatrix(), Matrix::sum(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseMatrix::bsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5326 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), imag, MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), Sparse< T >::maybe_compress(), MatrixType::nlower(), Sparse< T >::nnz(), MatrixType::nupper(), OCTAVE_LOCAL_BUFFER, real, Sparse< T >::ridx(), Sparse< double >::ridx(), Matrix::row(), Sparse< T >::rows(), Sparse< double >::rows(), SparseComplexMatrix, Matrix::sum(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
Matrix SparseMatrix::bsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4460 of file dSparse.cc.
References Matrix::abs(), MatrixType::Banded, MatrixType::Banded_Hermitian, Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), RowVector::max(), MatrixType::nlower(), MatrixType::nupper(), Sparse< double >::ridx(), Matrix::row(), Array< T >::rows(), Sparse< double >::rows(), Matrix::sum(), MatrixType::type(), and xisnan().
Referenced by solve().
octave_idx_type Sparse< double >::capacity | ( | void | ) | const [inline, inherited] |
static Sparse<double > Sparse< double >::cat | ( | int | dim, | |
octave_idx_type | n, | |||
const Sparse< double > * | sparse_list | |||
) | [static, inherited] |
void Sparse< double >::change_capacity | ( | octave_idx_type | nz | ) | [inline, inherited] |
double & Sparse< double >::checkelem | ( | octave_idx_type | n | ) | [inline, inherited] |
double & Sparse< double >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
double & Sparse< double >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
double Sparse< double >::checkelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
double Sparse< double >::checkelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
double Sparse< double >::checkelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
octave_idx_type* Sparse< double >::cidx | ( | void | ) | [inline, inherited] |
Definition at line 479 of file Sparse.h.
Referenced by bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), is_symmetric(), ltsolve(), max(), min(), operator!(), operator==(), prod(), row(), SparseMatrix(), tinverse(), trisolve(), and utsolve().
octave_idx_type& Sparse< double >::cidx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type Sparse< double >::cidx | ( | octave_idx_type | i | ) | const [inline, inherited] |
octave_idx_type* Sparse< double >::cidx | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::cols | ( | void | ) | const [inline, inherited] |
Definition at line 263 of file Sparse.h.
Referenced by bsolve(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), is_symmetric(), ltsolve(), operator!(), operator==(), SparseMatrix(), tinverse(), trisolve(), and utsolve().
ColumnVector SparseMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 585 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::data(), Sparse< double >::ridx(), and Sparse< double >::rows().
octave_idx_type Sparse< double >::columns | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::compute_index | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inherited] |
SparseMatrix SparseMatrix::concat | ( | const SparseMatrix & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 597 of file dSparse.cc.
References Sparse< T >::cols(), insert(), and Sparse< T >::rows().
SparseComplexMatrix SparseMatrix::concat | ( | const SparseComplexMatrix & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
Definition at line 606 of file dSparse.cc.
References Sparse< T >::cols(), SparseComplexMatrix::insert(), and Sparse< T >::rows().
SparseMatrix SparseMatrix::cumprod | ( | int | dim = -1 |
) | const |
Definition at line 7484 of file dSparse.cc.
References SPARSE_CUMPROD.
SparseMatrix SparseMatrix::cumsum | ( | int | dim = -1 |
) | const |
Definition at line 7490 of file dSparse.cc.
References SPARSE_CUMSUM.
Definition at line 461 of file Sparse.h.
Referenced by all_elements_are_int_or_inf_or_nan(), all_elements_are_zero(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), any_element_is_negative(), any_element_not_one_or_zero(), bsolve(), column(), determinant(), dsolve(), factorize(), fsolve(), is_symmetric(), ltsolve(), max(), min(), operator==(), row(), SparseMatrix(), tinverse(), too_large_for_float(), trisolve(), and utsolve().
double & Sparse< double >::data | ( | octave_idx_type | i | ) | [inline, inherited] |
double Sparse< double >::data | ( | octave_idx_type | i | ) | const [inline, inherited] |
void Sparse< double >::delete_elements | ( | const idx_vector & | i | ) | [inherited] |
void Sparse< double >::delete_elements | ( | int | dim, | |
const idx_vector & | i | |||
) | [inherited] |
void Sparse< double >::delete_elements | ( | const idx_vector & | i, | |
const idx_vector & | j | |||
) | [inherited] |
DET SparseMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1221 of file dSparse.cc.
References determinant().
DET SparseMatrix::determinant | ( | void | ) | const |
Definition at line 1213 of file dSparse.cc.
Referenced by DEFUN_DLD(), and determinant().
DET SparseMatrix::determinant | ( | octave_idx_type & | info, | |
double & | rcond, | |||
int | calc_cond = 1 | |||
) | const |
Definition at line 1228 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::cols(), Sparse< double >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), Sparse< double >::ridx(), Sparse< double >::rows(), UMFPACK_DNAME, and xisnan().
SparseMatrix SparseMatrix::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from MSparse< double >.
Definition at line 7545 of file dSparse.cc.
octave_idx_type Sparse< double >::dim1 | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::dim2 | ( | void | ) | const [inline, inherited] |
dim_vector Sparse< double >::dims | ( | void | ) | const [inline, inherited] |
SparseMatrix SparseMatrix::dinverse | ( | MatrixType & | mattyp, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
const bool | force = false , |
|||
const bool | calccond = true | |||
) | const [private] |
Definition at line 818 of file dSparse.cc.
References Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< double >::rows(), transpose(), and MatrixType::type().
Referenced by inverse().
Matrix SparseMatrix::dsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1344 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, Matrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), and MatrixType::type().
Referenced by solve().
ComplexMatrix SparseMatrix::dsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1494 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::Diagonal, MatrixType::info(), octave_Inf, MatrixType::Permuted_Diagonal, ComplexMatrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), and MatrixType::type().
SparseComplexMatrix SparseMatrix::dsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1554 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), Sparse< T >::nnz(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseComplexMatrix, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseMatrix SparseMatrix::dsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1404 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), Sparse< T >::data(), MatrixType::Diagonal, MatrixType::info(), Sparse< T >::nnz(), octave_Inf, MatrixType::Permuted_Diagonal, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseMatrix(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
double & Sparse< double >::elem | ( | octave_idx_type | n | ) | [inline, inherited] |
double & Sparse< double >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
double & Sparse< double >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
double Sparse< double >::elem | ( | octave_idx_type | n | ) | const [inline, inherited] |
double Sparse< double >::elem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
double Sparse< double >::elem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
void * SparseMatrix::factorize | ( | octave_idx_type & | err, | |
double & | rcond, | |||
Matrix & | Control, | |||
Matrix & | Info, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5688 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), Array< T >::fortran_vec(), octave_sparse_params::get_key(), Sparse< double >::ridx(), Sparse< double >::rows(), UMFPACK_DNAME, and xisnan().
Referenced by fsolve().
SparseComplexMatrix SparseMatrix::fsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 6512 of file dSparse.cc.
References A, B, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, imag, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< double >::nnz(), OCTAVE_LOCAL_BUFFER, real, Sparse< T >::ridx(), Sparse< double >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), solve(), SparseComplexMatrix, MatrixType::type(), UMFPACK_DNAME, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
Matrix SparseMatrix::fsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 5800 of file dSparse.cc.
References A, B, Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< double >::nnz(), Matrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), solve(), MatrixType::type(), UMFPACK_DNAME, Array< T >::xelem(), and xisnan().
Referenced by solve().
ComplexMatrix SparseMatrix::fsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 6278 of file dSparse.cc.
References A, B, Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, imag, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< double >::nnz(), OCTAVE_LOCAL_BUFFER, real, ComplexMatrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), solve(), MatrixType::type(), UMFPACK_DNAME, Array< T >::xelem(), and xisnan().
SparseMatrix SparseMatrix::fsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 6016 of file dSparse.cc.
References A, B, Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), Sparse< T >::elem(), factorize(), Array< T >::fortran_vec(), MatrixType::Full, octave_sparse_params::get_key(), MatrixType::Hermitian, MatrixType::info(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< double >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< double >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), solve(), SparseMatrix(), MatrixType::type(), UMFPACK_DNAME, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type Sparse< double >::get_col_index | ( | octave_idx_type | k | ) | [inline, inherited] |
octave_idx_type Sparse< double >::get_row_index | ( | octave_idx_type | k | ) | [inline, inherited] |
SparseMatrix SparseMatrix::hermitian | ( | void | ) | const [inline] |
Sparse<double > Sparse< double >::index | ( | const idx_vector & | i, | |
bool | resize_ok = false | |||
) | const [inherited] |
Sparse<double > Sparse< double >::index | ( | const idx_vector & | i, | |
const idx_vector & | j, | |||
bool | resize_ok = false | |||
) | const [inherited] |
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
Definition at line 254 of file dSparse.cc.
SparseMatrix & SparseMatrix::insert | ( | const SparseMatrix & | a, | |
const Array< octave_idx_type > & | indx | |||
) |
Definition at line 261 of file dSparse.cc.
References insert().
MSparse<double >& MSparse< double >::insert | ( | const Sparse< double > & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) | [inline, inherited] |
Reimplemented from Sparse< double >.
MSparse<double >& MSparse< double >::insert | ( | const Sparse< double > & | a, | |
const Array< octave_idx_type > & | indx | |||
) | [inline, inherited] |
Reimplemented from Sparse< double >.
SparseMatrix SparseMatrix::inverse | ( | void | ) | const |
Definition at line 794 of file dSparse.cc.
Referenced by chol2inv(), DEFUN_DLD(), inverse(), and xpow().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info | |||
) | const |
Definition at line 811 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 803 of file dSparse.cc.
References inverse().
SparseMatrix SparseMatrix::inverse | ( | MatrixType & | mattype, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
int | force = 0 , |
|||
int | calc_cond = 1 | |||
) | const |
Definition at line 1149 of file dSparse.cc.
References MatrixType::Diagonal, dinverse(), MatrixType::is_hermitian(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::L(), SparseCHOL::L(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pc(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::Pr(), SparseCHOL::Q(), Q, sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::rcond(), SparseCHOL::rcond(), Sparse< double >::rows(), tinverse(), MatrixType::transpose(), transpose(), MatrixType::type(), sparse_base_lu< lu_type, lu_elt_type, p_type, p_elt_type >::U(), MatrixType::Unknown, and MatrixType::Upper.
SparseMatrix SparseMatrix::ipermute | ( | const Array< octave_idx_type > & | vec | ) | const |
Reimplemented from MSparse< double >.
Definition at line 7604 of file dSparse.cc.
bool SparseMatrix::is_symmetric | ( | void | ) | const |
Definition at line 214 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::cols(), Sparse< double >::data(), Sparse< double >::ridx(), and Sparse< double >::rows().
Referenced by DEFUN_DLD().
octave_idx_type Sparse< double >::length | ( | void | ) | const [inline, inherited] |
Matrix SparseMatrix::ltsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2694 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Matrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::triangular_perm(), MatrixType::type(), Array< T >::xelem(), and xisnan().
Referenced by solve().
ComplexMatrix SparseMatrix::ltsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3261 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, ComplexMatrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::triangular_perm(), MatrixType::type(), Array< T >::xelem(), and xisnan().
SparseMatrix SparseMatrix::ltsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2954 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseMatrix(), MatrixType::triangular_perm(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseComplexMatrix SparseMatrix::ltsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3522 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), MatrixType::info(), MatrixType::Lower, MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseComplexMatrix, MatrixType::triangular_perm(), MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
Reimplemented from Sparse< double >.
Reimplemented from Sparse< double >.
Matrix SparseMatrix::matrix_value | ( | void | ) | const |
Definition at line 7551 of file dSparse.cc.
References Sparse< double >::array_value().
Referenced by octave_sparse_matrix::array_value(), octave_sparse_matrix::bool_array_value(), octave_sparse_matrix::complex_array_value(), octave_sparse_matrix::complex_matrix_value(), octave_sparse_matrix::matrix_value(), and octave_sparse_matrix::try_narrowing_conversion().
SparseMatrix SparseMatrix::max | ( | int | dim = -1 |
) | const |
Definition at line 268 of file dSparse.cc.
SparseMatrix SparseMatrix::max | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 275 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::clear(), Sparse< double >::data(), Sparse< double >::dims(), Sparse< double >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), dim_vector::length(), dim_vector::numel(), octave_NaN, Array< T >::resize(), Sparse< double >::ridx(), SparseMatrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type* Sparse< double >::mex_get_ir | ( | void | ) | const [inline, inherited] |
octave_idx_type* Sparse< double >::mex_get_jc | ( | void | ) | const [inline, inherited] |
SparseMatrix SparseMatrix::min | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
Definition at line 424 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::clear(), Sparse< double >::data(), Sparse< double >::dims(), Sparse< double >::elem(), Array< T >::elem(), dim_vector::first_non_singleton(), dim_vector::length(), dim_vector::numel(), octave_NaN, Array< T >::resize(), Sparse< double >::ridx(), SparseMatrix(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
SparseMatrix SparseMatrix::min | ( | int | dim = -1 |
) | const |
Definition at line 417 of file dSparse.cc.
octave_idx_type Sparse< double >::ndims | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::nelem | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::nnz | ( | void | ) | const [inline, inherited] |
Definition at line 247 of file Sparse.h.
Referenced by abs(), all_elements_are_int_or_inf_or_nan(), all_elements_are_zero(), all_integers(), any_element_is_inf_or_nan(), any_element_is_nan(), any_element_is_negative(), any_element_not_one_or_zero(), fsolve(), operator!(), operator==(), tinverse(), and too_large_for_float().
octave_idx_type Sparse< double >::numel | ( | void | ) | const [inline, inherited] |
octave_idx_type Sparse< double >::nzmax | ( | void | ) | const [inline, inherited] |
SparseBoolMatrix SparseMatrix::operator! | ( | void | ) | const |
Definition at line 7435 of file dSparse.cc.
References any_element_is_nan(), Sparse< double >::cidx(), Sparse< T >::cidx(), Sparse< double >::cols(), Sparse< T >::data(), gripe_nan_to_logical_conversion(), Sparse< double >::nnz(), Sparse< T >::ridx(), Sparse< double >::ridx(), and Sparse< double >::rows().
bool SparseMatrix::operator!= | ( | const SparseMatrix & | a | ) | const |
Definition at line 208 of file dSparse.cc.
double & Sparse< double >::operator() | ( | octave_idx_type | n | ) | [inline, inherited] |
double & Sparse< double >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
double & Sparse< double >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
double Sparse< double >::operator() | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
double Sparse< double >::operator() | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
double Sparse< double >::operator() | ( | octave_idx_type | n | ) | const [inline, inherited] |
SparseMatrix& SparseMatrix::operator= | ( | const SparseMatrix & | a | ) | [inline] |
Definition at line 89 of file dSparse.h.
References MSparse< T >::operator=().
bool SparseMatrix::operator== | ( | const SparseMatrix & | a | ) | const |
Definition at line 184 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), Sparse< T >::data(), Sparse< double >::data(), Sparse< T >::nnz(), Sparse< double >::nnz(), Sparse< T >::ridx(), Sparse< double >::ridx(), Sparse< T >::rows(), and Sparse< double >::rows().
SparseMatrix SparseMatrix::permute | ( | const Array< octave_idx_type > & | vec, | |
bool | inv = false | |||
) | const |
Reimplemented from MSparse< double >.
Definition at line 7598 of file dSparse.cc.
void Sparse< double >::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [inherited] |
SparseMatrix SparseMatrix::prod | ( | int | dim = -1 |
) | const |
Definition at line 7496 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::rows(), SPARSE_REDUCTION_OP, and transpose().
double & Sparse< double >::range_error | ( | const char * | fcn, | |
octave_idx_type | i, | |||
octave_idx_type | j | |||
) | [inherited] |
double Sparse< double >::range_error | ( | const char * | fcn, | |
octave_idx_type | n | |||
) | const [inherited] |
double & Sparse< double >::range_error | ( | const char * | fcn, | |
octave_idx_type | n | |||
) | [inherited] |
double Sparse< double >::range_error | ( | const char * | fcn, | |
octave_idx_type | i, | |||
octave_idx_type | j | |||
) | const [inherited] |
double Sparse< double >::range_error | ( | const char * | fcn, | |
const Array< octave_idx_type > & | ra_idx | |||
) | const [inherited] |
double & Sparse< double >::range_error | ( | const char * | fcn, | |
const Array< octave_idx_type > & | ra_idx | |||
) | [inherited] |
SparseMatrix SparseMatrix::reshape | ( | const dim_vector & | new_dims | ) | const |
Reimplemented from MSparse< double >.
Definition at line 7592 of file dSparse.cc.
void Sparse< double >::resize | ( | octave_idx_type | r, | |
octave_idx_type | c | |||
) | [inherited] |
void Sparse< double >::resize | ( | const dim_vector & | dv | ) | [inherited] |
void Sparse< double >::resize1 | ( | octave_idx_type | n | ) | [inherited] |
octave_idx_type* Sparse< double >::ridx | ( | void | ) | [inline, inherited] |
Definition at line 470 of file Sparse.h.
Referenced by bsolve(), column(), determinant(), do_bsxfun_op(), do_inplace_bsxfun_op(), dsolve(), factorize(), fsolve(), is_symmetric(), ltsolve(), max(), min(), operator!(), operator==(), row(), SparseMatrix(), tinverse(), trisolve(), and utsolve().
octave_idx_type& Sparse< double >::ridx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type Sparse< double >::ridx | ( | octave_idx_type | i | ) | const [inline, inherited] |
octave_idx_type* Sparse< double >::ridx | ( | void | ) | const [inline, inherited] |
RowVector SparseMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 566 of file dSparse.cc.
References Sparse< double >::cidx(), Sparse< double >::columns(), Sparse< double >::data(), and Sparse< double >::ridx().
octave_idx_type Sparse< double >::rows | ( | void | ) | const [inline, inherited] |
Definition at line 262 of file Sparse.h.
Referenced by bsolve(), column(), determinant(), dinverse(), dsolve(), factorize(), fsolve(), inverse(), is_symmetric(), ltsolve(), operator!(), operator==(), prod(), tinverse(), trisolve(), and utsolve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7129 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6792 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b | |||
) | const |
Definition at line 6988 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 7011 of file dSparse.cc.
References 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, qrsolve(), MatrixType::Rectangular, SparseComplexMatrix, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b | ) | 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 7247 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b | |||
) | const |
Definition at line 6920 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6996 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 7192 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 7076 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b | ) | const |
Definition at line 7261 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7153 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7099 of file dSparse.cc.
References solve().
Definition at line 7114 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7004 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 6875 of file dSparse.cc.
References 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, qrsolve(), MatrixType::Rectangular, SparseMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
Matrix SparseMatrix::solve | ( | const Matrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7122 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7070 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 7106 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7177 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6936 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 7136 of file dSparse.cc.
References solve().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b | |||
) | const |
Definition at line 6784 of file dSparse.cc.
Referenced by fsolve(), solve(), xdiv(), and xleftdiv().
Matrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6800 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7185 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | const ComplexMatrix & | b | ) | const |
SparseMatrix SparseMatrix::solve | ( | const SparseMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7161 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 7253 of file dSparse.cc.
References Matrix::column(), and solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b | |||
) | const |
Definition at line 6852 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b | |||
) | const |
Definition at line 7056 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b | ) | const |
Definition at line 7201 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b | ) | const |
Definition at line 7233 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7217 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 7276 of file dSparse.cc.
References solve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7209 of file dSparse.cc.
References solve().
ComplexMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6928 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 7092 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 7168 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 6943 of file dSparse.cc.
References 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, qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
SparseComplexMatrix SparseMatrix::solve | ( | const SparseComplexMatrix & | b, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler | |||
) | const |
Definition at line 7224 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 6807 of file dSparse.cc.
References MatrixType::Banded, MatrixType::Banded_Hermitian, bsolve(), MatrixType::Diagonal, dsolve(), fsolve(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, ltsolve(), MatrixType::Permuted_Diagonal, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, qrsolve(), MatrixType::Rectangular, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, trisolve(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
ColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ColumnVector & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 7063 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info | |||
) | const |
Definition at line 6860 of file dSparse.cc.
References solve().
SparseMatrix SparseMatrix::solve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond | |||
) | const |
Definition at line 6868 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 7283 of file dSparse.cc.
References Matrix::column(), and solve().
ComplexColumnVector SparseMatrix::solve | ( | const ComplexColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7269 of file dSparse.cc.
References solve().
ComplexColumnVector SparseMatrix::solve | ( | MatrixType & | typ, | |
const ComplexColumnVector & | b | |||
) | const |
Definition at line 7084 of file dSparse.cc.
References solve().
ColumnVector SparseMatrix::solve | ( | const ColumnVector & | b, | |
octave_idx_type & | info | |||
) | const |
Definition at line 7240 of file dSparse.cc.
References solve().
Sparse<double > Sparse< double >::sort | ( | Array< octave_idx_type > & | sidx, | |
octave_idx_type | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [inherited] |
Sparse<double > Sparse< double >::sort | ( | octave_idx_type | dim = 0 , |
|
sortmode | mode = ASCENDING | |||
) | const [inherited] |
SparseMatrix SparseMatrix::squeeze | ( | void | ) | const |
Reimplemented from MSparse< double >.
Definition at line 7586 of file dSparse.cc.
SparseMatrix SparseMatrix::sum | ( | int | dim = -1 |
) | const |
SparseMatrix SparseMatrix::sumsq | ( | int | dim = -1 |
) | const |
Definition at line 7514 of file dSparse.cc.
References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.
SparseMatrix SparseMatrix::tinverse | ( | MatrixType & | mattyp, | |
octave_idx_type & | info, | |||
double & | rcond, | |||
const bool | force = false , |
|||
const bool | calccond = true | |||
) | const [private] |
Definition at line 872 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), MatrixType::info(), MatrixType::Lower, Sparse< T >::maybe_compress(), Sparse< double >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Sparse< double >::ridx(), Sparse< double >::rows(), SparseMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Referenced by inverse().
bool SparseMatrix::too_large_for_float | ( | void | ) | const |
Definition at line 7419 of file dSparse.cc.
References Sparse< double >::data(), and Sparse< double >::nnz().
Referenced by octave_sparse_matrix::save_binary().
SparseMatrix SparseMatrix::transpose | ( | void | ) | const [inline] |
Reimplemented from MSparse< double >.
Definition at line 122 of file dSparse.h.
References MSparse< T >::transpose().
Referenced by chol2inv(), DEFUN_DLD(), dinverse(), inverse(), SparseComplexMatrix::inverse(), prod(), read_mat_binary_data(), SparseLU::SparseLU(), and xdiv().
Matrix SparseMatrix::trisolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3831 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, and MatrixType::type().
Referenced by solve().
SparseComplexMatrix SparseMatrix::trisolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4281 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), imag, MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, real, Sparse< double >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseComplexMatrix, MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
ComplexMatrix SparseMatrix::trisolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 4129 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), OCTAVE_LOCAL_BUFFER, Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, and MatrixType::type().
SparseMatrix SparseMatrix::trisolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 3982 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::info(), MatrixType::is_dense(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, Sparse< T >::ridx(), Sparse< double >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseMatrix(), MatrixType::Tridiagonal, MatrixType::Tridiagonal_Hermitian, MatrixType::type(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
ComplexMatrix SparseMatrix::utsolve | ( | MatrixType & | typ, | |
const ComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2166 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, ComplexMatrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Array< T >::xelem(), and xisnan().
SparseComplexMatrix SparseMatrix::utsolve | ( | MatrixType & | typ, | |
const SparseComplexMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 2404 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseComplexMatrix, MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
Matrix SparseMatrix::utsolve | ( | MatrixType & | typ, | |
const Matrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1644 of file dSparse.cc.
References Sparse< double >::cidx(), Array< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< double >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Matrix::resize(), Sparse< double >::ridx(), Array< T >::rows(), Sparse< double >::rows(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Array< T >::xelem(), and xisnan().
Referenced by solve().
SparseMatrix SparseMatrix::utsolve | ( | MatrixType & | typ, | |
const SparseMatrix & | b, | |||
octave_idx_type & | info, | |||
double & | rcond, | |||
solve_singularity_handler | sing_handler, | |||
bool | calc_cond = false | |||
) | const [private] |
Definition at line 1879 of file dSparse.cc.
References Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< double >::cidx(), Sparse< T >::cols(), Sparse< double >::cols(), current_liboctave_error_handler, Sparse< T >::data(), Sparse< double >::data(), MatrixType::info(), MatrixType::mark_as_rectangular(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), OCTAVE_LOCAL_BUFFER, MatrixType::Permuted_Upper, Sparse< double >::ridx(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< double >::rows(), SparseMatrix(), MatrixType::triangular_perm(), MatrixType::type(), MatrixType::Upper, Sparse< T >::xcidx(), Sparse< T >::xdata(), xisnan(), and Sparse< T >::xridx().
octave_idx_type& Sparse< double >::xcidx | ( | octave_idx_type | i | ) | [inline, inherited] |
octave_idx_type* Sparse< double >::xcidx | ( | void | ) | [inline, inherited] |
double & Sparse< double >::xdata | ( | octave_idx_type | i | ) | [inline, inherited] |
double Sparse< double >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | const [inline, inherited] |
double Sparse< double >::xelem | ( | octave_idx_type | n | ) | const [inline, inherited] |
double Sparse< double >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | const [inline, inherited] |
double & Sparse< double >::xelem | ( | octave_idx_type | n | ) | [inline, inherited] |
double & Sparse< double >::xelem | ( | const Array< octave_idx_type > & | ra_idx | ) | [inline, inherited] |
double & Sparse< double >::xelem | ( | octave_idx_type | i, | |
octave_idx_type | j | |||
) | [inline, inherited] |
octave_idx_type* Sparse< double >::xridx | ( | void | ) | [inline, inherited] |
octave_idx_type& Sparse< double >::xridx | ( | octave_idx_type | i | ) | [inline, inherited] |
OCTAVE_API SparseMatrix atan2 | ( | const double & | x, | |
const SparseMatrix & | y | |||
) | [friend] |
Definition at line 655 of file dSparse.cc.
OCTAVE_API SparseMatrix atan2 | ( | const SparseMatrix & | x, | |
const double & | y | |||
) | [friend] |
Definition at line 677 of file dSparse.cc.
OCTAVE_API SparseMatrix atan2 | ( | const SparseMatrix & | x, | |
const SparseMatrix & | y | |||
) | [friend] |
Definition at line 718 of file dSparse.cc.
OCTAVE_API SparseMatrix imag | ( | const SparseComplexMatrix & | a | ) | [friend] |
Definition at line 635 of file dSparse.cc.
Referenced by bsolve(), fsolve(), and trisolve().
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const SparseMatrix & | a | |||
) | [friend] |
Definition at line 7557 of file dSparse.cc.
OCTAVE_API std::istream& operator>> | ( | std::istream & | is, | |
SparseMatrix & | a | |||
) | [friend] |
Definition at line 7578 of file dSparse.cc.
OCTAVE_API SparseMatrix real | ( | const SparseComplexMatrix & | a | ) | [friend] |
Definition at line 615 of file dSparse.cc.
Referenced by bsolve(), fsolve(), and trisolve().
dim_vector Sparse< double >::dimensions [inherited] |