GNU Octave  3.8.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)
voidmex_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
voidfactorize (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)
OCTAVE_API SparseMatrix atan2 (const SparseMatrix &x, const double &y)
OCTAVE_API SparseMatrix atan2 (const SparseMatrix &x, const SparseMatrix &y)
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 44 of file dSparse.h.

Member Typedef Documentation

typedef double Sparse< double >::element_type
inherited

Definition at line 55 of file Sparse.h.

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

Definition at line 50 of file dSparse.h.

Constructor & Destructor Documentation

SparseMatrix::SparseMatrix ( void  )
inline

Definition at line 52 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 54 of file dSparse.h.

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

Definition at line 57 of file dSparse.h.

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

Definition at line 60 of file dSparse.h.

SparseMatrix::SparseMatrix ( const SparseMatrix a)
inline

Definition at line 63 of file dSparse.h.

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

Definition at line 65 of file dSparse.h.

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

Definition at line 68 of file dSparse.h.

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

Definition at line 70 of file dSparse.h.

SparseMatrix::SparseMatrix ( const Matrix a)
inlineexplicit

Definition at line 74 of file dSparse.h.

SparseMatrix::SparseMatrix ( const NDArray a)
inlineexplicit

Definition at line 76 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 78 of file dSparse.h.

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

Definition at line 86 of file dSparse.h.

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

Definition at line 88 of file dSparse.h.

Member Function Documentation

SparseMatrix SparseMatrix::abs ( void  ) const

Definition at line 7563 of file dSparse.cc.

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

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

Definition at line 7503 of file dSparse.cc.

References SPARSE_ALL_OP.

bool SparseMatrix::all_elements_are_int_or_inf_or_nan ( void  ) const

Definition at line 7413 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 7401 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 7509 of file dSparse.cc.

References SPARSE_ANY_OP.

bool SparseMatrix::any_element_is_inf_or_nan ( void  ) const

Definition at line 7371 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 7335 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

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
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 277 of file Sparse.h.

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

Definition at line 248 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 492 of file Sparse.h.

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

Definition at line 329 of file Sparse.h.

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

Definition at line 340 of file Sparse.h.

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

Definition at line 351 of file Sparse.h.

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

Definition at line 410 of file Sparse.h.

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

Definition at line 418 of file Sparse.h.

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

Definition at line 426 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 531 of file Sparse.h.

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

Definition at line 539 of file Sparse.h.

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

Definition at line 541 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 266 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 617 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 
)
SparseMatrix SparseMatrix::cumprod ( int  dim = -1) const

Definition at line 7515 of file dSparse.cc.

References SPARSE_CUMPROD.

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

Definition at line 7521 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 509 of file Sparse.h.

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

Definition at line 513 of file Sparse.h.

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

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

Referenced by determinant(), and Fdet().

DET SparseMatrix::determinant ( octave_idx_type info) const

Definition at line 1252 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

Reimplemented from MSparse< double >.

Definition at line 7576 of file dSparse.cc.

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

Definition at line 261 of file Sparse.h.

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

Definition at line 262 of file Sparse.h.

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

Definition at line 284 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 361 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 367 of file Sparse.h.

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

Definition at line 373 of file Sparse.h.

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

Definition at line 436 of file Sparse.h.

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

Definition at line 438 of file Sparse.h.

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

Definition at line 440 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 269 of file Sparse.h.

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

Definition at line 268 of file Sparse.h.

SparseMatrix SparseMatrix::hermitian ( void  ) const
inline

Definition at line 132 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 683 of file Sparse.h.

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

Reimplemented from Sparse< double >.

Definition at line 82 of file MSparse.h.

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

Reimplemented from Sparse< double >.

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

Referenced by concat(), and insert().

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

Definition at line 262 of file dSparse.cc.

References insert().

SparseMatrix SparseMatrix::inverse ( void  ) const

Definition at line 825 of file dSparse.cc.

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

SparseMatrix SparseMatrix::inverse ( MatrixType mattype) const

Definition at line 834 of file dSparse.cc.

References inverse().

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

Definition at line 842 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

Reimplemented from MSparse< double >.

Definition at line 7635 of file dSparse.cc.

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

Definition at line 504 of file Sparse.h.

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

Definition at line 502 of file Sparse.h.

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

Definition at line 259 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 147 of file Sparse.h.

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

Reimplemented from Sparse< double >.

Definition at line 115 of file MSparse.h.

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

Reimplemented from Sparse< double >.

Definition at line 120 of file MSparse.h.

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

Definition at line 619 of file Sparse.h.

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

Definition at line 269 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 468 of file Sparse.h.

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

Definition at line 564 of file Sparse.h.

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

Definition at line 566 of file Sparse.h.

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

Definition at line 571 of file Sparse.h.

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

Definition at line 420 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 543 of file Sparse.h.

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

Definition at line 258 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 253 of file Sparse.h.

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

Definition at line 247 of file Sparse.h.

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

Definition at line 208 of file dSparse.cc.

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

Definition at line 393 of file Sparse.h.

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

Definition at line 398 of file Sparse.h.

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

Definition at line 403 of file Sparse.h.

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

Definition at line 456 of file Sparse.h.

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

Definition at line 457 of file Sparse.h.

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

Definition at line 462 of file Sparse.h.

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

Definition at line 91 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

Reimplemented from MSparse< double >.

Definition at line 7629 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
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

Reimplemented from MSparse< double >.

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

Definition at line 518 of file Sparse.h.

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

Definition at line 526 of file Sparse.h.

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

Definition at line 528 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 6818 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 6826 of file dSparse.cc.

References solve().

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

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

References solve().

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

Definition at line 6962 of file dSparse.cc.

References solve().

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

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

References solve().

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

Definition at line 6894 of file dSparse.cc.

References solve().

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

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

References solve().

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

Definition at line 7030 of file dSparse.cc.

References solve().

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

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

References solve().

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

Definition at line 7097 of file dSparse.cc.

References solve().

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

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

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

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

Definition at line 7122 of file dSparse.cc.

References solve().

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

Definition at line 7130 of file dSparse.cc.

References solve().

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

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

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

Matrix SparseMatrix::solve ( const Matrix b) const

Definition at line 7156 of file dSparse.cc.

References solve().

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

Definition at line 7164 of file dSparse.cc.

References solve().

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

Definition at line 7171 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 7178 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 7217 of file dSparse.cc.

References solve().

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

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

References solve().

SparseMatrix SparseMatrix::solve ( const SparseMatrix b) const

Definition at line 7186 of file dSparse.cc.

References solve().

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

Definition at line 7194 of file dSparse.cc.

References solve().

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

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

References solve().

SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7240 of file dSparse.cc.

References solve().

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

Definition at line 7248 of file dSparse.cc.

References solve().

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

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

References solve().

ColumnVector SparseMatrix::solve ( const ColumnVector b) const

Definition at line 7271 of file dSparse.cc.

References solve().

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

Definition at line 7278 of file dSparse.cc.

References solve().

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

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

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

ComplexColumnVector SparseMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7302 of file dSparse.cc.

References solve().

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

Definition at line 7310 of file dSparse.cc.

References solve().

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

Definition at line 7317 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 7324 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

Reimplemented from MSparse< double >.

Definition at line 7617 of file dSparse.cc.

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

Definition at line 7539 of file dSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by Fsum().

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

Definition at line 7545 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 590 of file Sparse.h.

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

Definition at line 601 of file Sparse.h.

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

Definition at line 611 of file Sparse.h.

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

Definition at line 614 of file Sparse.h.

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

Definition at line 597 of file Sparse.h.

Referenced by too_large_for_float().

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

Definition at line 605 of file Sparse.h.

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

Definition at line 608 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 536 of file Sparse.h.

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

Definition at line 537 of file Sparse.h.

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

Definition at line 510 of file Sparse.h.

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

Definition at line 511 of file Sparse.h.

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

Definition at line 301 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 313 of file Sparse.h.

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

Definition at line 314 of file Sparse.h.

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

Definition at line 319 of file Sparse.h.

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

Definition at line 322 of file Sparse.h.

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

Definition at line 523 of file Sparse.h.

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

Definition at line 524 of file Sparse.h.

Friends And Related Function Documentation

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

Definition at line 686 of file dSparse.cc.

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

Definition at line 708 of file dSparse.cc.

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

Definition at line 749 of file dSparse.cc.

OCTAVE_API SparseMatrix imag ( const SparseComplexMatrix a)
friend

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

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

Definition at line 7609 of file dSparse.cc.

OCTAVE_API SparseMatrix real ( const SparseComplexMatrix a)
friend

Definition at line 637 of file dSparse.cc.

Referenced by bsolve(), fsolve(), and trisolve().

Member Data Documentation

dim_vector Sparse< double >::dimensions
inherited

Definition at line 167 of file Sparse.h.

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

Definition at line 165 of file Sparse.h.


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