Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Friends

SparseMatrix Class Reference

#include "dSparse.h"

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

List of all members.

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 (octave_idx_type r, octave_idx_type c, double val)
 SparseMatrix (const Sparse< double > &a)
 SparseMatrix (const SparseBoolMatrix &a)
 SparseMatrix (const SparseMatrix &a)
 SparseMatrix (const Matrix &a)
 SparseMatrix (const NDArray &a)
 SparseMatrix (const dim_vector &dv, octave_idx_type nz=0)
 SparseMatrix (const SparseMatrix &a, const dim_vector &dv)
 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 MSparse< double > &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) const
octave_idx_typecidx (void)
octave_idx_typecidx (octave_idx_type i)
octave_idx_type cidx (octave_idx_type i) 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
SparseMatrixinsert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
SparseMatrixinsert (const SparseMatrix &a, const Array< octave_idx_type > &indx)
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)
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 i, octave_idx_type j)
doubleoperator() (const Array< octave_idx_type > &ra_idx)
double operator() (octave_idx_type n) const
double operator() (const Array< octave_idx_type > &ra_idx) const
double operator() (octave_idx_type i, octave_idx_type j) const
doubleoperator() (octave_idx_type n)
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, const Array< octave_idx_type > &ra_idx) 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)
doublerange_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
double range_error (const char *fcn, octave_idx_type n) const
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_type ridx (octave_idx_type i) const
octave_idx_typeridx (void) const
octave_idx_typeridx (octave_idx_type i)
RowVector row (octave_idx_type i) const
octave_idx_type rows (void) const
Matrix solve (MatrixType &typ, const Matrix &b, octave_idx_type &info) const
SparseMatrix solve (const SparseMatrix &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
ComplexMatrix solve (const ComplexMatrix &b) const
Matrix solve (const Matrix &b, octave_idx_type &info) const
Matrix solve (const Matrix &b) const
ComplexColumnVector solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexColumnVector solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const
ColumnVector solve (const ColumnVector &b) const
SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info) const
ColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
Matrix solve (const Matrix &b, octave_idx_type &info, double &rcond) const
ColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcond) const
ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info) const
Matrix solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
SparseMatrix solve (const SparseMatrix &b, octave_idx_type &info) const
SparseComplexMatrix solve (MatrixType &typ, const SparseComplexMatrix &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 (const SparseComplexMatrix &b) const
ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const
ComplexColumnVector solve (const ComplexColumnVector &b) const
ColumnVector solve (const ColumnVector &b, octave_idx_type &info) const
SparseMatrix solve (const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
SparseMatrix solve (MatrixType &typ, const SparseMatrix &b) const
ComplexColumnVector solve (MatrixType &typ, const ComplexColumnVector &b) const
SparseComplexMatrix solve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info) const
ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info) const
SparseComplexMatrix solve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallabck=true) const
Matrix solve (MatrixType &typ, const Matrix &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
ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info, double &rcond) 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) const
Matrix solve (MatrixType &typ, const Matrix &b) const
SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const
ComplexColumnVector solve (MatrixType &typ, const ComplexColumnVector &b, octave_idx_type &info) 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) const
SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
ComplexMatrix solve (MatrixType &typ, const ComplexMatrix &b) const
SparseComplexMatrix solve (MatrixType &typ, const SparseComplexMatrix &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
Matrix solve (const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
SparseMatrix solve (const SparseMatrix &b) const
Sparse< doublesort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
Sparse< doublesort (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 too_large_for_float (void) const
SparseMatrix transpose (void) const
octave_idx_typexcidx (octave_idx_type i)
octave_idx_typexcidx (void)
doublexdata (void)
doublexdata (octave_idx_type i)
doublexelem (const Array< octave_idx_type > &ra_idx)
double xelem (const Array< octave_idx_type > &ra_idx) const
double xelem (octave_idx_type n) const
doublexelem (octave_idx_type n)
double xelem (octave_idx_type i, octave_idx_type j) const
doublexelem (octave_idx_type i, octave_idx_type j)
octave_idx_typexridx (octave_idx_type i)
octave_idx_typexridx (void)

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
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
Matrix dsolve (MatrixType &typ, const Matrix &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
ComplexMatrix fsolve (MatrixType &typ, const ComplexMatrix &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 fsolve (MatrixType &typ, const Matrix &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
ComplexMatrix ltsolve (MatrixType &typ, const ComplexMatrix &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
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
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 trisolve (MatrixType &typ, const Matrix &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
SparseMatrix utsolve (MatrixType &typ, const SparseMatrix &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

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.

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 56 of file dSparse.h.

SparseMatrix::SparseMatrix ( octave_idx_type  r,
octave_idx_type  c,
double  val 
) [inline, explicit]

Definition at line 59 of file dSparse.h.

SparseMatrix::SparseMatrix ( const SparseMatrix a  )  [inline]

Definition at line 62 of file dSparse.h.

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

Definition at line 64 of file dSparse.h.

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

Definition at line 67 of file dSparse.h.

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

Definition at line 69 of file dSparse.h.

F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type Complex Complex Complex Complex const octave_idx_type octave_idx_type & SparseMatrix::SparseMatrix ( const SparseBoolMatrix a  )  [explicit]
SparseMatrix::SparseMatrix ( const Matrix a  )  [inline, explicit]

Definition at line 73 of file dSparse.h.

SparseMatrix::SparseMatrix ( const NDArray a  )  [inline, explicit]

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

SparseMatrix::SparseMatrix ( const DiagMatrix a  )  [explicit]
SparseMatrix::SparseMatrix ( const PermMatrix a  )  [inline, explicit]

Definition at line 85 of file dSparse.h.

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

Definition at line 87 of file dSparse.h.


Member Function Documentation

SparseMatrix SparseMatrix::abs ( void   )  const

Definition at line 7532 of file dSparse.cc.

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

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

Definition at line 7472 of file dSparse.cc.

References SPARSE_ALL_OP.

bool SparseMatrix::all_elements_are_int_or_inf_or_nan ( void   )  const

Definition at line 7371 of file dSparse.cc.

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

bool SparseMatrix::all_elements_are_zero ( void   )  const

Definition at line 7359 of file dSparse.cc.

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

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

Definition at line 7478 of file dSparse.cc.

References SPARSE_ANY_OP.

bool SparseMatrix::any_element_is_inf_or_nan ( void   )  const

Definition at line 7329 of file dSparse.cc.

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

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

Definition at line 7293 of file dSparse.cc.

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

Referenced by elem_xpow().

bool SparseMatrix::any_element_not_one_or_zero ( void   )  const
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]
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]
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]
size_t Sparse< double >::byte_size ( void   )  const [inline, inherited]

Definition at line 275 of file Sparse.h.

octave_idx_type Sparse< double >::capacity ( void   )  const [inline, inherited]

Definition at line 246 of file Sparse.h.

static Sparse<double > Sparse< double >::cat ( int  dim,
octave_idx_type  n,
const Sparse< double > *  sparse_list 
) [static, inherited]
void Sparse< double >::change_capacity ( octave_idx_type  nz  )  [inline, inherited]

Definition at line 445 of file Sparse.h.

double & Sparse< double >::checkelem ( octave_idx_type  n  )  [inline, inherited]

Definition at line 323 of file Sparse.h.

double & Sparse< double >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) [inline, inherited]

Definition at line 334 of file Sparse.h.

double & Sparse< double >::checkelem ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 345 of file Sparse.h.

double Sparse< double >::checkelem ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 380 of file Sparse.h.

double Sparse< double >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const [inline, inherited]

Definition at line 388 of file Sparse.h.

double Sparse< double >::checkelem ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 396 of file Sparse.h.

octave_idx_type* Sparse< double >::cidx ( void   )  [inline, inherited]
octave_idx_type& Sparse< double >::cidx ( octave_idx_type  i  )  [inline, inherited]

Definition at line 480 of file Sparse.h.

octave_idx_type Sparse< double >::cidx ( octave_idx_type  i  )  const [inline, inherited]

Definition at line 484 of file Sparse.h.

octave_idx_type* Sparse< double >::cidx ( void   )  const [inline, inherited]

Definition at line 486 of file Sparse.h.

octave_idx_type Sparse< double >::cols ( void   )  const [inline, inherited]
ColumnVector SparseMatrix::column ( octave_idx_type  i  )  const
octave_idx_type Sparse< double >::columns ( void   )  const [inline, inherited]

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

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

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

Definition at line 7484 of file dSparse.cc.

References SPARSE_CUMPROD.

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

Definition at line 7490 of file dSparse.cc.

References SPARSE_CUMSUM.

double * Sparse< double >::data ( void   )  [inline, inherited]
double & Sparse< double >::data ( octave_idx_type  i  )  [inline, inherited]

Definition at line 462 of file Sparse.h.

double Sparse< double >::data ( octave_idx_type  i  )  const [inline, inherited]

Definition at line 466 of file Sparse.h.

double * Sparse< double >::data ( void   )  const [inline, inherited]

Definition at line 468 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 ( octave_idx_type info  )  const

Definition at line 1221 of file dSparse.cc.

References determinant().

DET SparseMatrix::determinant ( void   )  const

Definition at line 1213 of file dSparse.cc.

Referenced by DEFUN_DLD(), and determinant().

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

Reimplemented from MSparse< double >.

Definition at line 7545 of file dSparse.cc.

octave_idx_type Sparse< double >::dim1 ( void   )  const [inline, inherited]

Definition at line 259 of file Sparse.h.

octave_idx_type Sparse< double >::dim2 ( void   )  const [inline, inherited]

Definition at line 260 of file Sparse.h.

dim_vector Sparse< double >::dims ( void   )  const [inline, inherited]

Definition at line 281 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]
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]
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]
double & Sparse< double >::elem ( octave_idx_type  n  )  [inline, inherited]

Definition at line 355 of file Sparse.h.

Referenced by max(), and min().

double & Sparse< double >::elem ( octave_idx_type  i,
octave_idx_type  j 
) [inline, inherited]

Definition at line 361 of file Sparse.h.

double & Sparse< double >::elem ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 367 of file Sparse.h.

double Sparse< double >::elem ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 406 of file Sparse.h.

double Sparse< double >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const [inline, inherited]

Definition at line 408 of file Sparse.h.

double Sparse< double >::elem ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 410 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]
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]
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]
octave_idx_type Sparse< double >::get_col_index ( octave_idx_type  k  )  [inline, inherited]

Definition at line 267 of file Sparse.h.

octave_idx_type Sparse< double >::get_row_index ( octave_idx_type  k  )  [inline, inherited]

Definition at line 266 of file Sparse.h.

SparseMatrix SparseMatrix::hermitian ( void   )  const [inline]

Definition at line 126 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 [inline, inherited]

Definition at line 592 of file Sparse.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 261 of file dSparse.cc.

References insert().

MSparse<double >& MSparse< double >::insert ( const Sparse< double > &  a,
octave_idx_type  r,
octave_idx_type  c 
) [inline, inherited]

Reimplemented from Sparse< double >.

Definition at line 80 of file MSparse.h.

MSparse<double >& MSparse< double >::insert ( const Sparse< double > &  a,
const Array< octave_idx_type > &  indx 
) [inline, inherited]

Reimplemented from Sparse< double >.

Definition at line 86 of file MSparse.h.

SparseMatrix SparseMatrix::inverse ( void   )  const

Definition at line 794 of file dSparse.cc.

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

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

Definition at line 811 of file dSparse.cc.

References inverse().

SparseMatrix SparseMatrix::inverse ( MatrixType mattype  )  const

Definition at line 803 of file dSparse.cc.

References inverse().

SparseMatrix SparseMatrix::inverse ( MatrixType mattype,
octave_idx_type info,
double rcond,
int  force = 0,
int  calc_cond = 1 
) const
SparseMatrix SparseMatrix::ipermute ( const Array< octave_idx_type > &  vec  )  const

Reimplemented from MSparse< double >.

Definition at line 7604 of file dSparse.cc.

bool Sparse< double >::is_empty ( void   )  const [inline, inherited]

Definition at line 457 of file Sparse.h.

bool Sparse< double >::is_square ( void   )  const [inline, inherited]

Definition at line 455 of file Sparse.h.

bool SparseMatrix::is_symmetric ( void   )  const
octave_idx_type Sparse< double >::length ( void   )  const [inline, inherited]

Definition at line 257 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   )  [inline, protected, inherited]

Definition at line 146 of file Sparse.h.

MSparse<U> MSparse< double >::map ( U(&)(const double &)  fcn  )  const [inline, inherited]

Reimplemented from Sparse< double >.

Definition at line 119 of file MSparse.h.

MSparse<U> MSparse< double >::map ( U(&)(double fcn  )  const [inline, inherited]

Reimplemented from Sparse< double >.

Definition at line 114 of file MSparse.h.

Sparse<U> Sparse< double >::map ( fcn  )  const [inline, inherited]

Definition at line 528 of file Sparse.h.

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

Definition at line 268 of file dSparse.cc.

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

Definition at line 423 of file Sparse.h.

void* Sparse< double >::mex_get_data ( void   )  const [inline, inherited]

Definition at line 508 of file Sparse.h.

octave_idx_type* Sparse< double >::mex_get_ir ( void   )  const [inline, inherited]

Definition at line 510 of file Sparse.h.

octave_idx_type* Sparse< double >::mex_get_jc ( void   )  const [inline, inherited]

Definition at line 512 of file Sparse.h.

SparseMatrix SparseMatrix::min ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
SparseMatrix SparseMatrix::min ( int  dim = -1  )  const

Definition at line 417 of file dSparse.cc.

octave_idx_type Sparse< double >::ndims ( void   )  const [inline, inherited]

Definition at line 488 of file Sparse.h.

octave_idx_type Sparse< double >::nelem ( void   )  const [inline, inherited]

Definition at line 256 of file Sparse.h.

octave_idx_type Sparse< double >::nnz ( void   )  const [inline, inherited]
octave_idx_type Sparse< double >::numel ( void   )  const [inline, inherited]

Definition at line 251 of file Sparse.h.

octave_idx_type Sparse< double >::nzmax ( void   )  const [inline, inherited]

Definition at line 245 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  )  [inline, inherited]

Definition at line 375 of file Sparse.h.

double & Sparse< double >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) [inline, inherited]

Definition at line 376 of file Sparse.h.

double & Sparse< double >::operator() ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 377 of file Sparse.h.

double Sparse< double >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const [inline, inherited]

Definition at line 419 of file Sparse.h.

double Sparse< double >::operator() ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 420 of file Sparse.h.

double Sparse< double >::operator() ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 418 of file Sparse.h.

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

Definition at line 89 of file dSparse.h.

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

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

Reimplemented from MSparse< double >.

Definition at line 7598 of file dSparse.cc.

void Sparse< double >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const [inherited]
SparseMatrix SparseMatrix::prod ( int  dim = -1  )  const
double & Sparse< double >::range_error ( const char fcn,
octave_idx_type  i,
octave_idx_type  j 
) [inherited]
double Sparse< double >::range_error ( const char fcn,
octave_idx_type  n 
) const [inherited]
double & Sparse< double >::range_error ( const char fcn,
octave_idx_type  n 
) [inherited]
double Sparse< double >::range_error ( const char fcn,
octave_idx_type  i,
octave_idx_type  j 
) const [inherited]
double Sparse< double >::range_error ( const char fcn,
const Array< octave_idx_type > &  ra_idx 
) const [inherited]
double & Sparse< double >::range_error ( const char fcn,
const Array< octave_idx_type > &  ra_idx 
) [inherited]
SparseMatrix SparseMatrix::reshape ( const dim_vector new_dims  )  const

Reimplemented from MSparse< double >.

Definition at line 7592 of file dSparse.cc.

void Sparse< double >::resize ( octave_idx_type  r,
octave_idx_type  c 
) [inherited]
void Sparse< double >::resize ( const dim_vector dv  )  [inherited]
void Sparse< double >::resize1 ( octave_idx_type  n  )  [inherited]
octave_idx_type* Sparse< double >::ridx ( void   )  [inline, inherited]
octave_idx_type& Sparse< double >::ridx ( octave_idx_type  i  )  [inline, inherited]

Definition at line 471 of file Sparse.h.

octave_idx_type Sparse< double >::ridx ( octave_idx_type  i  )  const [inline, inherited]

Definition at line 475 of file Sparse.h.

octave_idx_type* Sparse< double >::ridx ( void   )  const [inline, inherited]

Definition at line 477 of file Sparse.h.

RowVector SparseMatrix::row ( octave_idx_type  i  )  const
octave_idx_type Sparse< double >::rows ( void   )  const [inline, inherited]
Matrix SparseMatrix::solve ( const Matrix b,
octave_idx_type info,
double rcond 
) const

Definition at line 7129 of file dSparse.cc.

References solve().

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

Definition at line 6792 of file dSparse.cc.

References solve().

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

Definition at line 6988 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( MatrixType typ,
const SparseComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  singular_fallabck = true 
) const
SparseMatrix SparseMatrix::solve ( const SparseMatrix b  )  const

Definition at line 7145 of file dSparse.cc.

References solve().

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

Definition at line 7247 of file dSparse.cc.

References solve().

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

Definition at line 6920 of file dSparse.cc.

References solve().

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

Definition at line 6996 of file dSparse.cc.

References solve().

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

Definition at line 7192 of file dSparse.cc.

References solve().

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

Definition at line 7076 of file dSparse.cc.

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

ComplexColumnVector SparseMatrix::solve ( const ComplexColumnVector b  )  const

Definition at line 7261 of file dSparse.cc.

References solve().

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

Definition at line 7153 of file dSparse.cc.

References solve().

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

Definition at line 7099 of file dSparse.cc.

References solve().

Matrix SparseMatrix::solve ( const Matrix b  )  const

Definition at line 7114 of file dSparse.cc.

References solve().

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

Definition at line 7004 of file dSparse.cc.

References solve().

SparseMatrix SparseMatrix::solve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  singular_fallback = true 
) const
Matrix SparseMatrix::solve ( const Matrix b,
octave_idx_type info 
) const

Definition at line 7122 of file dSparse.cc.

References solve().

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

Definition at line 7070 of file dSparse.cc.

References solve().

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

Definition at line 7106 of file dSparse.cc.

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

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

Definition at line 7177 of file dSparse.cc.

References solve().

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

Definition at line 6936 of file dSparse.cc.

References solve().

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

Definition at line 7136 of file dSparse.cc.

References solve().

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

Definition at line 6784 of file dSparse.cc.

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

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

Definition at line 6800 of file dSparse.cc.

References solve().

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

Definition at line 7185 of file dSparse.cc.

References solve().

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

Definition at line 7161 of file dSparse.cc.

References solve().

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

Definition at line 7253 of file dSparse.cc.

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

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

Definition at line 6852 of file dSparse.cc.

References solve().

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

Definition at line 7056 of file dSparse.cc.

References solve().

SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b  )  const

Definition at line 7201 of file dSparse.cc.

References solve().

ColumnVector SparseMatrix::solve ( const ColumnVector b  )  const

Definition at line 7233 of file dSparse.cc.

References solve().

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

Definition at line 7217 of file dSparse.cc.

References solve().

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

Definition at line 7276 of file dSparse.cc.

References solve().

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

Definition at line 7209 of file dSparse.cc.

References solve().

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

Definition at line 6928 of file dSparse.cc.

References solve().

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

Definition at line 7092 of file dSparse.cc.

References solve().

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

Definition at line 7168 of file dSparse.cc.

References solve().

ComplexMatrix SparseMatrix::solve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  singular_fallback = true 
) const
SparseComplexMatrix SparseMatrix::solve ( const SparseComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler 
) const

Definition at line 7224 of file dSparse.cc.

References solve().

Matrix SparseMatrix::solve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  singular_fallback = true 
) const
ColumnVector SparseMatrix::solve ( MatrixType typ,
const ColumnVector b,
octave_idx_type info 
) const

Definition at line 7063 of file dSparse.cc.

References solve().

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

Definition at line 6860 of file dSparse.cc.

References solve().

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

Definition at line 6868 of file dSparse.cc.

References solve().

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

Definition at line 7283 of file dSparse.cc.

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

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

Definition at line 7269 of file dSparse.cc.

References solve().

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

Definition at line 7084 of file dSparse.cc.

References solve().

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

Definition at line 7240 of file dSparse.cc.

References solve().

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

Reimplemented from MSparse< double >.

Definition at line 7586 of file dSparse.cc.

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

Definition at line 7508 of file dSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by DEFUN().

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

Definition at line 7514 of file dSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

SparseMatrix SparseMatrix::tinverse ( MatrixType mattyp,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const [private]
bool SparseMatrix::too_large_for_float ( void   )  const

Definition at line 7419 of file dSparse.cc.

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

Referenced by octave_sparse_matrix::save_binary().

SparseMatrix SparseMatrix::transpose ( void   )  const [inline]
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]
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]
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]
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]
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]
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]
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]
octave_idx_type& Sparse< double >::xcidx ( octave_idx_type  i  )  [inline, inherited]

Definition at line 482 of file Sparse.h.

octave_idx_type* Sparse< double >::xcidx ( void   )  [inline, inherited]

Definition at line 481 of file Sparse.h.

double & Sparse< double >::xdata ( octave_idx_type  i  )  [inline, inherited]

Definition at line 464 of file Sparse.h.

double * Sparse< double >::xdata ( void   )  [inline, inherited]

Definition at line 463 of file Sparse.h.

double Sparse< double >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const [inline, inherited]

Definition at line 311 of file Sparse.h.

double Sparse< double >::xelem ( octave_idx_type  n  )  const [inline, inherited]

Definition at line 304 of file Sparse.h.

double Sparse< double >::xelem ( const Array< octave_idx_type > &  ra_idx  )  const [inline, inherited]

Definition at line 316 of file Sparse.h.

double & Sparse< double >::xelem ( octave_idx_type  n  )  [inline, inherited]

Definition at line 298 of file Sparse.h.

double & Sparse< double >::xelem ( const Array< octave_idx_type > &  ra_idx  )  [inline, inherited]

Definition at line 313 of file Sparse.h.

double & Sparse< double >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) [inline, inherited]

Definition at line 310 of file Sparse.h.

octave_idx_type* Sparse< double >::xridx ( void   )  [inline, inherited]

Definition at line 472 of file Sparse.h.

octave_idx_type& Sparse< double >::xridx ( octave_idx_type  i  )  [inline, inherited]

Definition at line 473 of file Sparse.h.


Friends And Related Function Documentation

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

Definition at line 655 of file dSparse.cc.

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

Definition at line 677 of file dSparse.cc.

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

Definition at line 718 of file dSparse.cc.

OCTAVE_API SparseMatrix imag ( const SparseComplexMatrix a  )  [friend]

Definition at line 635 of file dSparse.cc.

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

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

Definition at line 7557 of file dSparse.cc.

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

Definition at line 7578 of file dSparse.cc.

OCTAVE_API SparseMatrix real ( const SparseComplexMatrix a  )  [friend]

Definition at line 615 of file dSparse.cc.

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


Member Data Documentation

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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines