GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Friends | List of all members
SparseMatrix Class Reference

#include "dSparse.h"

Inheritance diagram for SparseMatrix:
Inheritance graph
[legend]
Collaboration diagram for SparseMatrix:
Collaboration graph
[legend]

Public Types

typedef double element_type
 
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 abs (void) const
 
SparseBoolMatrix all (int dim=-1) const
 
bool all_elements_are_int_or_inf_or_nan (void) const
 
bool all_elements_are_zero (void) const
 
bool all_integers (double &max_val, double &min_val) const
 
SparseBoolMatrix any (int dim=-1) const
 
bool any_element_is_inf_or_nan (void) const
 
bool any_element_is_nan (void) const
 
bool any_element_is_negative (bool=false) const
 
bool any_element_not_one_or_zero (void) const
 
Array< doublearray_value (void) const
 
void assign (const idx_vector &i, const Sparse< double > &rhs)
 
void assign (const idx_vector &i, const idx_vector &j, const Sparse< double > &rhs)
 
size_t byte_size (void) const
 
octave_idx_type capacity (void) const
 
void change_capacity (octave_idx_type nz)
 
doublecheckelem (octave_idx_type n)
 
doublecheckelem (octave_idx_type i, octave_idx_type j)
 
doublecheckelem (const Array< octave_idx_type > &ra_idx)
 
double checkelem (octave_idx_type n) const
 
double checkelem (octave_idx_type i, octave_idx_type j) const
 
double checkelem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_typecidx (void)
 
octave_idx_typecidx (octave_idx_type i)
 
octave_idx_type cidx (octave_idx_type i) const
 
octave_idx_typecidx (void) const
 
octave_idx_type cols (void) const
 
ColumnVector column (octave_idx_type i) const
 
octave_idx_type columns (void) const
 
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 
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 cumprod (int dim=-1) const
 
SparseMatrix cumsum (int dim=-1) const
 
doubledata (void)
 
doubledata (octave_idx_type i)
 
double data (octave_idx_type i) const
 
doubledata (void) const
 
void delete_elements (const idx_vector &i)
 
void delete_elements (int dim, const idx_vector &i)
 
void delete_elements (const idx_vector &i, const idx_vector &j)
 
DET determinant (void) const
 
DET determinant (octave_idx_type &info) const
 
DET determinant (octave_idx_type &info, double &rcond, int calc_cond=1) const
 
SparseMatrix diag (octave_idx_type k=0) const
 
octave_idx_type dim1 (void) const
 
octave_idx_type dim2 (void) const
 
dim_vector dims (void) const
 
doubleelem (octave_idx_type n)
 
doubleelem (octave_idx_type i, octave_idx_type j)
 
doubleelem (const Array< octave_idx_type > &ra_idx)
 
double elem (octave_idx_type n) const
 
double elem (octave_idx_type i, octave_idx_type j) const
 
double elem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_type get_col_index (octave_idx_type k)
 
octave_idx_type get_row_index (octave_idx_type k)
 
SparseMatrix hermitian (void) const
 
Sparse< doubleindex (const idx_vector &i, bool resize_ok=false) const
 
Sparse< doubleindex (const idx_vector &i, const idx_vector &j, bool resize_ok=false) const
 
bool indices_ok (void) const
 
MSparse< double > & insert (const Sparse< double > &a, octave_idx_type r, octave_idx_type c)
 
MSparse< double > & insert (const Sparse< double > &a, const Array< octave_idx_type > &indx)
 
SparseMatrixinsert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
 
SparseMatrixinsert (const SparseMatrix &a, const Array< octave_idx_type > &indx)
 
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
 
SparseMatrix ipermute (const Array< octave_idx_type > &vec) const
 
bool is_empty (void) const
 
bool is_square (void) const
 
bool is_symmetric (void) const
 
octave_idx_type length (void) const
 
MSparse< U > map (U(&fcn)(double)) const
 
MSparse< U > map (U(&fcn)(const double &)) const
 
Sparse< U > map (F fcn) const
 
Matrix matrix_value (void) const
 
SparseMatrix max (int dim=-1) const
 
SparseMatrix max (Array< octave_idx_type > &index, int dim=-1) const
 
Sparse< doublemaybe_compress (bool remove_zeros=false)
 
void * mex_get_data (void) const
 
octave_idx_typemex_get_ir (void) const
 
octave_idx_typemex_get_jc (void) const
 
SparseMatrix min (int dim=-1) const
 
SparseMatrix min (Array< octave_idx_type > &index, int dim=-1) const
 
octave_idx_type ndims (void) const
 
octave_idx_type nelem (void) const
 
octave_idx_type nnz (void) const
 
octave_idx_type numel (void) const
 
octave_idx_type nzmax (void) const
 
SparseBoolMatrix operator! (void) const
 
bool operator!= (const SparseMatrix &a) const
 
doubleoperator() (octave_idx_type n)
 
doubleoperator() (octave_idx_type i, octave_idx_type j)
 
doubleoperator() (const Array< octave_idx_type > &ra_idx)
 
double operator() (octave_idx_type n) const
 
double operator() (octave_idx_type i, octave_idx_type j) const
 
double operator() (const Array< octave_idx_type > &ra_idx) const
 
SparseMatrixoperator= (const SparseMatrix &a)
 
bool operator== (const SparseMatrix &a) const
 
SparseMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
void print_info (std::ostream &os, const std::string &prefix) const
 
SparseMatrix prod (int dim=-1) const
 
double range_error (const char *fcn, octave_idx_type n) const
 
doublerange_error (const char *fcn, octave_idx_type n)
 
double range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const
 
doublerange_error (const char *fcn, octave_idx_type i, octave_idx_type j)
 
double range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const
 
doublerange_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
 
SparseMatrix reshape (const dim_vector &new_dims) const
 
void resize (octave_idx_type r, octave_idx_type c)
 
void resize (const dim_vector &dv)
 
void resize1 (octave_idx_type n)
 
octave_idx_typeridx (void)
 
octave_idx_typeridx (octave_idx_type i)
 
octave_idx_type ridx (octave_idx_type i) const
 
octave_idx_typeridx (void) const
 
RowVector row (octave_idx_type i) const
 
octave_idx_type rows (void) 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
 
Sparse< doublesort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< doublesort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
SparseMatrix squeeze (void) const
 
SparseMatrix sum (int dim=-1) const
 
SparseMatrix sumsq (int dim=-1) const
 
bool test (F fcn) const
 
bool test_all (F fcn) const
 
bool test_all (bool(&fcn)(double)) const
 
bool test_all (bool(&fcn)(const double &)) const
 
bool test_any (F fcn) const
 
bool test_any (bool(&fcn)(double)) const
 
bool test_any (bool(&fcn)(const double &)) const
 
bool too_large_for_float (void) const
 
SparseMatrix transpose (void) const
 
octave_idx_typexcidx (void)
 
octave_idx_typexcidx (octave_idx_type i)
 
doublexdata (void)
 
doublexdata (octave_idx_type i)
 
doublexelem (octave_idx_type n)
 
double xelem (octave_idx_type n) const
 
doublexelem (octave_idx_type i, octave_idx_type j)
 
double xelem (octave_idx_type i, octave_idx_type j) const
 
doublexelem (const Array< octave_idx_type > &ra_idx)
 
double xelem (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_typexridx (void)
 
octave_idx_typexridx (octave_idx_type i)
 

Static Public Member Functions

static Sparse< doublecat (int dim, octave_idx_type n, const Sparse< double > *sparse_list)
 

Public Attributes

dim_vector dimensions
 
Sparse< double >::SparseRep * rep
 

Protected Member Functions

void make_unique (void)
 

Private Member Functions

Matrix bsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix bsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix bsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix bsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix dinverse (MatrixType &mattyp, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
Matrix dsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix dsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix dsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix dsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
void * factorize (octave_idx_type &err, double &rcond, Matrix &Control, Matrix &Info, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
Matrix fsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix fsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix fsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix fsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
Matrix ltsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix ltsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix ltsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix ltsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix tinverse (MatrixType &mattyp, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
Matrix trisolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix trisolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix trisolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix trisolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
Matrix utsolve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix utsolve (MatrixType &typ, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseMatrix utsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix utsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 

Friends

OCTAVE_API SparseMatrix atan2 (const double &x, const SparseMatrix &y) GCC_ATTR_DEPRECATED
 
OCTAVE_API SparseMatrix atan2 (const SparseMatrix &x, const double &y) GCC_ATTR_DEPRECATED
 
OCTAVE_API SparseMatrix atan2 (const SparseMatrix &x, const SparseMatrix &y) GCC_ATTR_DEPRECATED
 
OCTAVE_API SparseMatrix imag (const SparseComplexMatrix &a)
 
OCTAVE_API std::ostream & operator<< (std::ostream &os, const SparseMatrix &a)
 
OCTAVE_API std::istream & operator>> (std::istream &is, SparseMatrix &a)
 
OCTAVE_API SparseMatrix real (const SparseComplexMatrix &a)
 

Detailed Description

Definition at line 46 of file dSparse.h.

Member Typedef Documentation

typedef double Sparse< double >::element_type
inherited

Definition at line 54 of file Sparse.h.

typedef void(* SparseMatrix::solve_singularity_handler)(double rcond)

Definition at line 52 of file dSparse.h.

Constructor & Destructor Documentation

SparseMatrix::SparseMatrix ( void  )
inline

Definition at line 54 of file dSparse.h.

Referenced by bsolve(), dsolve(), fsolve(), ltsolve(), max(), min(), solve(), tinverse(), trisolve(), and utsolve().

SparseMatrix::SparseMatrix ( octave_idx_type  r,
octave_idx_type  c 
)
inline

Definition at line 56 of file dSparse.h.

SparseMatrix::SparseMatrix ( const dim_vector dv,
octave_idx_type  nz = 0 
)
inline

Definition at line 59 of file dSparse.h.

SparseMatrix::SparseMatrix ( octave_idx_type  r,
octave_idx_type  c,
double  val 
)
inlineexplicit

Definition at line 62 of file dSparse.h.

SparseMatrix::SparseMatrix ( const SparseMatrix a)
inline

Definition at line 65 of file dSparse.h.

SparseMatrix::SparseMatrix ( const SparseMatrix a,
const dim_vector dv 
)
inline

Definition at line 67 of file dSparse.h.

SparseMatrix::SparseMatrix ( const MSparse< double > &  a)
inline

Definition at line 70 of file dSparse.h.

SparseMatrix::SparseMatrix ( const Sparse< double > &  a)
inline

Definition at line 72 of file dSparse.h.

SparseMatrix::SparseMatrix ( const Matrix a)
inlineexplicit

Definition at line 76 of file dSparse.h.

SparseMatrix::SparseMatrix ( const NDArray a)
inlineexplicit

Definition at line 78 of file dSparse.h.

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

Definition at line 80 of file dSparse.h.

SparseMatrix::SparseMatrix ( const DiagMatrix a)
explicit
SparseMatrix::SparseMatrix ( const PermMatrix a)
inlineexplicit

Definition at line 88 of file dSparse.h.

SparseMatrix::SparseMatrix ( octave_idx_type  r,
octave_idx_type  c,
octave_idx_type  num_nz 
)
inline

Definition at line 90 of file dSparse.h.

Member Function Documentation

SparseMatrix SparseMatrix::abs ( void  ) const

Definition at line 7481 of file dSparse.cc.

References Sparse< T >::data(), and Sparse< double >::nnz().

SparseBoolMatrix SparseMatrix::all ( int  dim = -1) const

Definition at line 7421 of file dSparse.cc.

References SPARSE_ALL_OP.

bool SparseMatrix::all_elements_are_int_or_inf_or_nan ( void  ) const

Definition at line 7331 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 7319 of file dSparse.cc.

References Sparse< double >::data(), and Sparse< double >::nnz().

bool SparseMatrix::all_integers ( double max_val,
double min_val 
) const
SparseBoolMatrix SparseMatrix::any ( int  dim = -1) const

Definition at line 7427 of file dSparse.cc.

References SPARSE_ANY_OP.

bool SparseMatrix::any_element_is_inf_or_nan ( void  ) const

Definition at line 7289 of file dSparse.cc.

References Sparse< double >::data(), Sparse< double >::nnz(), xisinf(), and xisnan().

bool SparseMatrix::any_element_is_nan ( void  ) const
bool SparseMatrix::any_element_is_negative ( bool  neg_zero = false) const

Definition at line 7253 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
Array<double > Sparse< double >::array_value ( void  ) const
inherited
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
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
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
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
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
size_t Sparse< double >::byte_size ( void  ) const
inlineinherited

Definition at line 276 of file Sparse.h.

octave_idx_type Sparse< double >::capacity ( void  ) const
inlineinherited

Definition at line 247 of file Sparse.h.

static Sparse<double > Sparse< double >::cat ( int  dim,
octave_idx_type  n,
const Sparse< double > *  sparse_list 
)
staticinherited
void Sparse< double >::change_capacity ( octave_idx_type  nz)
inlineinherited

Definition at line 493 of file Sparse.h.

double & Sparse< double >::checkelem ( octave_idx_type  n)
inlineinherited

Definition at line 330 of file Sparse.h.

double & Sparse< double >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 341 of file Sparse.h.

double & Sparse< double >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 352 of file Sparse.h.

double Sparse< double >::checkelem ( octave_idx_type  n) const
inlineinherited

Definition at line 411 of file Sparse.h.

double Sparse< double >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 419 of file Sparse.h.

double Sparse< double >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 427 of file Sparse.h.

octave_idx_type* Sparse< double >::cidx ( void  )
inlineinherited
octave_idx_type& Sparse< double >::cidx ( octave_idx_type  i)
inlineinherited

Definition at line 532 of file Sparse.h.

octave_idx_type Sparse< double >::cidx ( octave_idx_type  i) const
inlineinherited

Definition at line 540 of file Sparse.h.

octave_idx_type* Sparse< double >::cidx ( void  ) const
inlineinherited

Definition at line 542 of file Sparse.h.

octave_idx_type Sparse< double >::cols ( void  ) const
inlineinherited
ColumnVector SparseMatrix::column ( octave_idx_type  i) const
octave_idx_type Sparse< double >::columns ( void  ) const
inlineinherited

Definition at line 265 of file Sparse.h.

Referenced by row().

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 620 of file dSparse.cc.

References Sparse< T >::cols(), insert(), ra_idx, and Sparse< T >::rows().

SparseComplexMatrix SparseMatrix::concat ( const SparseComplexMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)
SparseMatrix SparseMatrix::cumprod ( int  dim = -1) const

Definition at line 7433 of file dSparse.cc.

References SPARSE_CUMPROD.

SparseMatrix SparseMatrix::cumsum ( int  dim = -1) const

Definition at line 7439 of file dSparse.cc.

References SPARSE_CUMSUM.

Referenced by Fcumsum().

double * Sparse< double >::data ( void  )
inlineinherited
double & Sparse< double >::data ( octave_idx_type  i)
inlineinherited

Definition at line 510 of file Sparse.h.

double Sparse< double >::data ( octave_idx_type  i) const
inlineinherited

Definition at line 514 of file Sparse.h.

double * Sparse< double >::data ( void  ) const
inlineinherited

Definition at line 516 of file Sparse.h.

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 ( void  ) const

Definition at line 1246 of file dSparse.cc.

Referenced by determinant(), and Fdet().

DET SparseMatrix::determinant ( octave_idx_type info) const

Definition at line 1254 of file dSparse.cc.

References determinant().

DET SparseMatrix::determinant ( octave_idx_type info,
double rcond,
int  calc_cond = 1 
) const
SparseMatrix SparseMatrix::diag ( octave_idx_type  k = 0) const

Definition at line 7494 of file dSparse.cc.

References MSparse< T >::diag().

octave_idx_type Sparse< double >::dim1 ( void  ) const
inlineinherited

Definition at line 260 of file Sparse.h.

octave_idx_type Sparse< double >::dim2 ( void  ) const
inlineinherited

Definition at line 261 of file Sparse.h.

dim_vector Sparse< double >::dims ( void  ) const
inlineinherited

Definition at line 283 of file Sparse.h.

Referenced by max(), and min().

SparseMatrix SparseMatrix::dinverse ( MatrixType mattyp,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const
private
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
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
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
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
double & Sparse< double >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 362 of file Sparse.h.

Referenced by max(), and min().

double & Sparse< double >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 368 of file Sparse.h.

double & Sparse< double >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 374 of file Sparse.h.

double Sparse< double >::elem ( octave_idx_type  n) const
inlineinherited

Definition at line 437 of file Sparse.h.

double Sparse< double >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 439 of file Sparse.h.

double Sparse< double >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 441 of file Sparse.h.

void * SparseMatrix::factorize ( octave_idx_type err,
double rcond,
Matrix Control,
Matrix Info,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
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
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
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
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
octave_idx_type Sparse< double >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 268 of file Sparse.h.

octave_idx_type Sparse< double >::get_row_index ( octave_idx_type  k)
inlineinherited

Definition at line 267 of file Sparse.h.

SparseMatrix SparseMatrix::hermitian ( void  ) const
inline

Definition at line 137 of file dSparse.h.

References transpose().

Referenced by qrsolve().

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
bool Sparse< double >::indices_ok ( void  ) const
inlineinherited

Definition at line 684 of file Sparse.h.

MSparse<double >& MSparse< double >::insert ( const Sparse< double > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Definition at line 82 of file MSparse.h.

MSparse<double >& MSparse< double >::insert ( const Sparse< double > &  a,
const Array< octave_idx_type > &  indx 
)
inlineinherited

Definition at line 88 of file MSparse.h.

SparseMatrix & SparseMatrix::insert ( const SparseMatrix a,
octave_idx_type  r,
octave_idx_type  c 
)

Definition at line 257 of file dSparse.cc.

References MSparse< T >::insert().

Referenced by concat().

SparseMatrix & SparseMatrix::insert ( const SparseMatrix a,
const Array< octave_idx_type > &  indx 
)

Definition at line 265 of file dSparse.cc.

References MSparse< T >::insert().

SparseMatrix SparseMatrix::inverse ( void  ) const

Definition at line 828 of file dSparse.cc.

Referenced by chol2inv(), Finv(), inverse(), and xpow().

SparseMatrix SparseMatrix::inverse ( MatrixType mattype) const

Definition at line 837 of file dSparse.cc.

References inverse().

SparseMatrix SparseMatrix::inverse ( MatrixType mattype,
octave_idx_type info 
) const

Definition at line 845 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
SparseMatrix SparseMatrix::ipermute ( const Array< octave_idx_type > &  vec) const

Definition at line 7553 of file dSparse.cc.

References MSparse< T >::ipermute().

bool Sparse< double >::is_empty ( void  ) const
inlineinherited

Definition at line 505 of file Sparse.h.

bool Sparse< double >::is_square ( void  ) const
inlineinherited

Definition at line 503 of file Sparse.h.

bool SparseMatrix::is_symmetric ( void  ) const
octave_idx_type Sparse< double >::length ( void  ) const
inlineinherited

Definition at line 258 of file Sparse.h.

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
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
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
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
void Sparse< double >::make_unique ( void  )
inlineprotectedinherited

Definition at line 146 of file Sparse.h.

MSparse<U> MSparse< double >::map ( U(&)(double fcn) const
inlineinherited

Definition at line 115 of file MSparse.h.

MSparse<U> MSparse< double >::map ( U(&)(const double &)  fcn) const
inlineinherited

Definition at line 120 of file MSparse.h.

Sparse<U> Sparse< double >::map ( F  fcn) const
inlineinherited

Definition at line 620 of file Sparse.h.

Matrix SparseMatrix::matrix_value ( void  ) const
SparseMatrix SparseMatrix::max ( int  dim = -1) const

Definition at line 272 of file dSparse.cc.

SparseMatrix SparseMatrix::max ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
Sparse<double > Sparse< double >::maybe_compress ( bool  remove_zeros = false)
inlineinherited

Definition at line 469 of file Sparse.h.

void* Sparse< double >::mex_get_data ( void  ) const
inlineinherited

Definition at line 565 of file Sparse.h.

octave_idx_type* Sparse< double >::mex_get_ir ( void  ) const
inlineinherited

Definition at line 567 of file Sparse.h.

octave_idx_type* Sparse< double >::mex_get_jc ( void  ) const
inlineinherited

Definition at line 572 of file Sparse.h.

SparseMatrix SparseMatrix::min ( int  dim = -1) const

Definition at line 423 of file dSparse.cc.

SparseMatrix SparseMatrix::min ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
octave_idx_type Sparse< double >::ndims ( void  ) const
inlineinherited

Definition at line 544 of file Sparse.h.

octave_idx_type Sparse< double >::nelem ( void  ) const
inlineinherited

Definition at line 257 of file Sparse.h.

octave_idx_type Sparse< double >::nnz ( void  ) const
inlineinherited
octave_idx_type Sparse< double >::numel ( void  ) const
inlineinherited

Definition at line 252 of file Sparse.h.

octave_idx_type Sparse< double >::nzmax ( void  ) const
inlineinherited

Definition at line 246 of file Sparse.h.

SparseBoolMatrix SparseMatrix::operator! ( void  ) const
bool SparseMatrix::operator!= ( const SparseMatrix a) const

Definition at line 211 of file dSparse.cc.

double & Sparse< double >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 394 of file Sparse.h.

double & Sparse< double >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 399 of file Sparse.h.

double & Sparse< double >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 404 of file Sparse.h.

double Sparse< double >::operator() ( octave_idx_type  n) const
inlineinherited

Definition at line 457 of file Sparse.h.

double Sparse< double >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 458 of file Sparse.h.

double Sparse< double >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 463 of file Sparse.h.

SparseMatrix& SparseMatrix::operator= ( const SparseMatrix a)
inline

Definition at line 93 of file dSparse.h.

References MSparse< T >::operator=().

bool SparseMatrix::operator== ( const SparseMatrix a) const
SparseMatrix SparseMatrix::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const

Definition at line 7547 of file dSparse.cc.

References MSparse< T >::permute().

void Sparse< double >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
inherited
SparseMatrix SparseMatrix::prod ( int  dim = -1) const

Definition at line 7445 of file dSparse.cc.

References Sparse< double >::cidx(), Sparse< double >::rows(), SPARSE_REDUCTION_OP, and transpose().

Referenced by Fprod().

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,
octave_idx_type  i,
octave_idx_type  j 
)
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

Definition at line 7541 of file dSparse.cc.

References MSparse< T >::reshape().

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  )
inlineinherited
octave_idx_type& Sparse< double >::ridx ( octave_idx_type  i)
inlineinherited

Definition at line 519 of file Sparse.h.

octave_idx_type Sparse< double >::ridx ( octave_idx_type  i) const
inlineinherited

Definition at line 527 of file Sparse.h.

octave_idx_type* Sparse< double >::ridx ( void  ) const
inlineinherited

Definition at line 529 of file Sparse.h.

RowVector SparseMatrix::row ( octave_idx_type  i) const
octave_idx_type Sparse< double >::rows ( void  ) const
inlineinherited
Matrix SparseMatrix::solve ( MatrixType typ,
const Matrix b 
) const

Definition at line 6735 of file dSparse.cc.

Referenced by fsolve(), solve(), xdiv(), and xleftdiv().

Matrix SparseMatrix::solve ( MatrixType typ,
const Matrix b,
octave_idx_type info 
) const

Definition at line 6743 of file dSparse.cc.

References solve().

Matrix SparseMatrix::solve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 6751 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
ComplexMatrix SparseMatrix::solve ( MatrixType typ,
const ComplexMatrix b 
) const

Definition at line 6871 of file dSparse.cc.

References solve().

ComplexMatrix SparseMatrix::solve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info 
) const

Definition at line 6879 of file dSparse.cc.

References solve().

ComplexMatrix SparseMatrix::solve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 6887 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
SparseMatrix SparseMatrix::solve ( MatrixType typ,
const SparseMatrix b 
) const

Definition at line 6803 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info 
) const

Definition at line 6811 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 6819 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
SparseComplexMatrix SparseMatrix::solve ( MatrixType typ,
const SparseComplexMatrix b 
) const

Definition at line 6939 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( MatrixType typ,
const SparseComplexMatrix b,
octave_idx_type info 
) const

Definition at line 6947 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( MatrixType typ,
const SparseComplexMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 6955 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
ColumnVector SparseMatrix::solve ( MatrixType typ,
const ColumnVector b 
) const

Definition at line 7007 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( MatrixType typ,
const ColumnVector b,
octave_idx_type info 
) const

Definition at line 7014 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( MatrixType typ,
const ColumnVector b,
octave_idx_type info,
double rcond 
) const

Definition at line 7022 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 7029 of file dSparse.cc.

References Matrix::column(), and solve().

ComplexColumnVector SparseMatrix::solve ( MatrixType typ,
const ComplexColumnVector b 
) const

Definition at line 7039 of file dSparse.cc.

References solve().

ComplexColumnVector SparseMatrix::solve ( MatrixType typ,
const ComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 7047 of file dSparse.cc.

References solve().

ComplexColumnVector SparseMatrix::solve ( MatrixType typ,
const ComplexColumnVector b,
octave_idx_type info,
double rcond 
) const

Definition at line 7055 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 7063 of file dSparse.cc.

References Matrix::column(), and solve().

Matrix SparseMatrix::solve ( const Matrix b) const

Definition at line 7073 of file dSparse.cc.

References solve().

Matrix SparseMatrix::solve ( const Matrix b,
octave_idx_type info 
) const

Definition at line 7081 of file dSparse.cc.

References solve().

Matrix SparseMatrix::solve ( const Matrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 7088 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 7095 of file dSparse.cc.

References solve().

ComplexMatrix SparseMatrix::solve ( const ComplexMatrix b) const
ComplexMatrix SparseMatrix::solve ( const ComplexMatrix b,
octave_idx_type info 
) const

Definition at line 7134 of file dSparse.cc.

References solve().

ComplexMatrix SparseMatrix::solve ( const ComplexMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 7141 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 7148 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( const SparseMatrix b) const

Definition at line 7103 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( const SparseMatrix b,
octave_idx_type info 
) const

Definition at line 7111 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( const SparseMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 7119 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 7126 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7157 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b,
octave_idx_type info 
) const

Definition at line 7165 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 7172 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 7179 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( const ColumnVector b) const

Definition at line 7188 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( const ColumnVector b,
octave_idx_type info 
) const

Definition at line 7195 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( const ColumnVector b,
octave_idx_type info,
double rcond 
) const

Definition at line 7202 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 7209 of file dSparse.cc.

References Matrix::column(), and solve().

ComplexColumnVector SparseMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7219 of file dSparse.cc.

References solve().

ComplexColumnVector SparseMatrix::solve ( const ComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 7227 of file dSparse.cc.

References solve().

ComplexColumnVector SparseMatrix::solve ( const ComplexColumnVector b,
octave_idx_type info,
double rcond 
) const

Definition at line 7234 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 7241 of file dSparse.cc.

References Matrix::column(), and solve().

Sparse<double > Sparse< double >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
Sparse<double > Sparse< double >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited
SparseMatrix SparseMatrix::squeeze ( void  ) const

Definition at line 7535 of file dSparse.cc.

References MSparse< T >::squeeze().

SparseMatrix SparseMatrix::sum ( int  dim = -1) const

Definition at line 7457 of file dSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by Fsum().

SparseMatrix SparseMatrix::sumsq ( int  dim = -1) const

Definition at line 7463 of file dSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

bool Sparse< double >::test ( F  fcn) const
inlineinherited

Definition at line 591 of file Sparse.h.

bool Sparse< double >::test_all ( F  fcn) const
inlineinherited

Definition at line 602 of file Sparse.h.

bool Sparse< double >::test_all ( bool(&)(double fcn) const
inlineinherited

Definition at line 612 of file Sparse.h.

bool Sparse< double >::test_all ( bool(&)(const double &)  fcn) const
inlineinherited

Definition at line 615 of file Sparse.h.

bool Sparse< double >::test_any ( F  fcn) const
inlineinherited

Definition at line 598 of file Sparse.h.

Referenced by too_large_for_float().

bool Sparse< double >::test_any ( bool(&)(double fcn) const
inlineinherited

Definition at line 606 of file Sparse.h.

bool Sparse< double >::test_any ( bool(&)(const double &)  fcn) const
inlineinherited

Definition at line 609 of file Sparse.h.

SparseMatrix SparseMatrix::tinverse ( MatrixType mattyp,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const
private
bool SparseMatrix::too_large_for_float ( void  ) const
SparseMatrix SparseMatrix::transpose ( void  ) const
inline
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
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
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
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
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
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
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
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
octave_idx_type* Sparse< double >::xcidx ( void  )
inlineinherited

Definition at line 537 of file Sparse.h.

octave_idx_type& Sparse< double >::xcidx ( octave_idx_type  i)
inlineinherited

Definition at line 538 of file Sparse.h.

double * Sparse< double >::xdata ( void  )
inlineinherited

Definition at line 511 of file Sparse.h.

double & Sparse< double >::xdata ( octave_idx_type  i)
inlineinherited

Definition at line 512 of file Sparse.h.

double & Sparse< double >::xelem ( octave_idx_type  n)
inlineinherited

Definition at line 300 of file Sparse.h.

double Sparse< double >::xelem ( octave_idx_type  n) const
inlineinherited

Definition at line 307 of file Sparse.h.

double & Sparse< double >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 314 of file Sparse.h.

double Sparse< double >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 315 of file Sparse.h.

double & Sparse< double >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 320 of file Sparse.h.

double Sparse< double >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 323 of file Sparse.h.

octave_idx_type* Sparse< double >::xridx ( void  )
inlineinherited

Definition at line 524 of file Sparse.h.

octave_idx_type& Sparse< double >::xridx ( octave_idx_type  i)
inlineinherited

Definition at line 525 of file Sparse.h.

Friends And Related Function Documentation

OCTAVE_API SparseMatrix atan2 ( const double x,
const SparseMatrix y 
)
friend

Definition at line 689 of file dSparse.cc.

OCTAVE_API SparseMatrix atan2 ( const SparseMatrix x,
const double y 
)
friend

Definition at line 711 of file dSparse.cc.

OCTAVE_API SparseMatrix atan2 ( const SparseMatrix x,
const SparseMatrix y 
)
friend

Definition at line 752 of file dSparse.cc.

OCTAVE_API SparseMatrix imag ( const SparseComplexMatrix a)
friend

Definition at line 661 of file dSparse.cc.

OCTAVE_API std::ostream& operator<< ( std::ostream &  os,
const SparseMatrix a 
)
friend

Definition at line 7506 of file dSparse.cc.

OCTAVE_API std::istream& operator>> ( std::istream &  is,
SparseMatrix a 
)
friend

Definition at line 7527 of file dSparse.cc.

OCTAVE_API SparseMatrix real ( const SparseComplexMatrix a)
friend

Definition at line 640 of file dSparse.cc.

Member Data Documentation

dim_vector Sparse< double >::dimensions
inherited

Definition at line 166 of file Sparse.h.

Sparse<double >::SparseRep* Sparse< double >::rep
inherited

Definition at line 164 of file Sparse.h.


The documentation for this class was generated from the following files: