Public Types |
typedef void(* | solve_singularity_handler )(double rcond) |
Public Member Functions |
| SparseMatrix (void) |
| SparseMatrix (octave_idx_type r, octave_idx_type c) |
| SparseMatrix (const dim_vector &dv, octave_idx_type nz=0) |
| SparseMatrix (octave_idx_type r, octave_idx_type c, double val) |
| SparseMatrix (const SparseMatrix &a) |
| SparseMatrix (const SparseMatrix &a, const dim_vector &dv) |
| SparseMatrix (const MSparse< double > &a) |
| SparseMatrix (const Sparse< double > &a) |
| SparseMatrix (const SparseBoolMatrix &a) |
| SparseMatrix (const Matrix &a) |
| SparseMatrix (const NDArray &a) |
| 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) |
| SparseMatrix (const DiagMatrix &a) |
| SparseMatrix (const PermMatrix &a) |
| SparseMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz) |
SparseMatrix & | operator= (const SparseMatrix &a) |
bool | operator== (const SparseMatrix &a) const |
bool | operator!= (const SparseMatrix &a) const |
bool | is_symmetric (void) const |
SparseMatrix | max (int dim=-1) const |
SparseMatrix | max (Array< octave_idx_type > &index, int dim=-1) const |
SparseMatrix | min (int dim=-1) const |
SparseMatrix | min (Array< octave_idx_type > &index, int dim=-1) const |
SparseMatrix & | insert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c) |
SparseMatrix & | insert (const SparseMatrix &a, const Array< octave_idx_type > &indx) |
SparseMatrix | concat (const SparseMatrix &rb, const Array< octave_idx_type > &ra_idx) |
SparseComplexMatrix | concat (const SparseComplexMatrix &rb, const Array< octave_idx_type > &ra_idx) |
SparseMatrix | transpose (void) const |
SparseMatrix | hermitian (void) const |
RowVector | row (octave_idx_type i) const |
ColumnVector | column (octave_idx_type i) const |
SparseMatrix | inverse (void) const |
SparseMatrix | inverse (MatrixType &mattype) const |
SparseMatrix | inverse (MatrixType &mattype, octave_idx_type &info) const |
SparseMatrix | inverse (MatrixType &mattype, octave_idx_type &info, double &rcond, int force=0, int calc_cond=1) const |
DET | determinant (void) const |
DET | determinant (octave_idx_type &info) const |
DET | determinant (octave_idx_type &info, double &rcond, int calc_cond=1) const |
Matrix | solve (MatrixType &typ, const Matrix &b) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond) const |
Matrix | solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond) const |
ComplexMatrix | solve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const |
SparseMatrix | solve (MatrixType &typ, const SparseMatrix &b) const |
SparseMatrix | solve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info) const |
SparseMatrix | solve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond) const |
SparseMatrix | solve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const |
SparseComplexMatrix | solve (MatrixType &typ, const SparseComplexMatrix &b) const |
SparseComplexMatrix | solve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info) const |
SparseComplexMatrix | solve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const |
SparseComplexMatrix | solve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallabck=true) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info, double &rcond) const |
ColumnVector | solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const |
ComplexColumnVector | solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
Matrix | solve (const Matrix &b) const |
Matrix | solve (const Matrix &b, octave_idx_type &info) const |
Matrix | solve (const Matrix &b, octave_idx_type &info, double &rcond) const |
Matrix | solve (const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
ComplexMatrix | solve (const ComplexMatrix &b) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info, double &rcond) const |
ComplexMatrix | solve (const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
SparseMatrix | solve (const SparseMatrix &b) const |
SparseMatrix | solve (const SparseMatrix &b, octave_idx_type &info) const |
SparseMatrix | solve (const SparseMatrix &b, octave_idx_type &info, double &rcond) const |
SparseMatrix | solve (const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
SparseComplexMatrix | solve (const SparseComplexMatrix &b) const |
SparseComplexMatrix | solve (const SparseComplexMatrix &b, octave_idx_type &info) const |
SparseComplexMatrix | solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const |
SparseComplexMatrix | solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
ColumnVector | solve (const ColumnVector &b) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info, double &rcond) const |
ColumnVector | solve (const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
ComplexColumnVector | solve (const ComplexColumnVector &b) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const |
ComplexColumnVector | solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const |
bool | any_element_is_negative (bool=false) const |
bool | any_element_is_nan (void) const |
bool | any_element_is_inf_or_nan (void) const |
bool | any_element_not_one_or_zero (void) const |
bool | all_elements_are_zero (void) const |
bool | all_elements_are_int_or_inf_or_nan (void) const |
bool | all_integers (double &max_val, double &min_val) const |
bool | too_large_for_float (void) const |
SparseBoolMatrix | operator! (void) const |
SparseBoolMatrix | all (int dim=-1) const |
SparseBoolMatrix | any (int dim=-1) const |
SparseMatrix | cumprod (int dim=-1) const |
SparseMatrix | cumsum (int dim=-1) const |
SparseMatrix | prod (int dim=-1) const |
SparseMatrix | sum (int dim=-1) const |
SparseMatrix | sumsq (int dim=-1) const |
SparseMatrix | abs (void) const |
SparseMatrix | diag (octave_idx_type k=0) const |
Matrix | matrix_value (void) const |
SparseMatrix | squeeze (void) const |
SparseMatrix | reshape (const dim_vector &new_dims) const |
SparseMatrix | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
SparseMatrix | ipermute (const Array< octave_idx_type > &vec) const |
Friends |
OCTAVE_API SparseMatrix | real (const SparseComplexMatrix &a) |
OCTAVE_API SparseMatrix | imag (const SparseComplexMatrix &a) |
OCTAVE_API SparseMatrix | atan2 (const double &x, const SparseMatrix &y) |
OCTAVE_API SparseMatrix | atan2 (const SparseMatrix &x, const double &y) |
OCTAVE_API SparseMatrix | atan2 (const SparseMatrix &x, const SparseMatrix &y) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const SparseMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, SparseMatrix &a) |