GNU Octave  4.2.1
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
SparseComplexMatrix Class Reference

#include "CSparse.h"

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

Public Types

typedef ComplexMatrix dense_matrix_type
 
typedef Complex element_type
 
typedef void(* solve_singularity_handler )(double rcond)
 

Public Member Functions

 SparseComplexMatrix (void)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c)
 
 SparseComplexMatrix (const dim_vector &dv, octave_idx_type nz=0)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c, Complex val)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c, double val)
 
 SparseComplexMatrix (const SparseComplexMatrix &a)
 
 SparseComplexMatrix (const SparseComplexMatrix &a, const dim_vector &dv)
 
 SparseComplexMatrix (const MSparse< Complex > &a)
 
 SparseComplexMatrix (const Sparse< Complex > &a)
 
 SparseComplexMatrix (const ComplexMatrix &a)
 
 SparseComplexMatrix (const ComplexNDArray &a)
 
 SparseComplexMatrix (const Array< Complex > &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)
 
 SparseComplexMatrix (const SparseMatrix &a)
 
 SparseComplexMatrix (const SparseBoolMatrix &a)
 
 SparseComplexMatrix (const ComplexDiagMatrix &a)
 
 SparseComplexMatrix (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_real (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
 
Array< Complexarray_value (void) const
 
void assign (const idx_vector &i, const Sparse< Complex > &rhs)
 
void assign (const idx_vector &i, const idx_vector &j, const Sparse< Complex > &rhs)
 
size_t byte_size (void) const
 
octave_idx_type capacity (void) const
 Amount of storage for nonzero elements. More...
 
void change_capacity (octave_idx_type nz)
 
Complexcheckelem (octave_idx_type n)
 
Complexcheckelem (octave_idx_type i, octave_idx_type j)
 
Complexcheckelem (const Array< octave_idx_type > &ra_idx)
 
Complex checkelem (octave_idx_type n) const
 
Complex checkelem (octave_idx_type i, octave_idx_type j) const
 
Complex 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
 
ComplexColumnVector 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
 
SparseComplexMatrix concat (const SparseComplexMatrix &rb, const Array< octave_idx_type > &ra_idx)
 
SparseComplexMatrix concat (const SparseMatrix &rb, const Array< octave_idx_type > &ra_idx)
 
SparseComplexMatrix cumprod (int dim=-1) const
 
SparseComplexMatrix cumsum (int dim=-1) const
 
Complexdata (void)
 
Complexdata (octave_idx_type i)
 
Complex data (octave_idx_type i) const
 
Complexdata (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)
 
ComplexDET determinant (void) const
 
ComplexDET determinant (octave_idx_type &info) const
 
ComplexDET determinant (octave_idx_type &info, double &rcond, bool calc_cond=true) const
 
SparseComplexMatrix diag (octave_idx_type k=0) const
 
octave_idx_type dim1 (void) const
 
octave_idx_type dim2 (void) const
 
dim_vector dims (void) const
 
Complexelem (octave_idx_type n)
 
Complexelem (octave_idx_type i, octave_idx_type j)
 
Complexelem (const Array< octave_idx_type > &ra_idx)
 
Complex elem (octave_idx_type n) const
 
Complex elem (octave_idx_type i, octave_idx_type j) const
 
Complex 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)
 
SparseComplexMatrix hermitian (void) const
 
Sparse< Complexindex (const idx_vector &i, bool resize_ok=false) const
 
Sparse< Complexindex (const idx_vector &i, const idx_vector &j, bool resize_ok=false) const
 
bool indices_ok (void) const
 
MSparse< Complex > & insert (const Sparse< Complex > &a, octave_idx_type r, octave_idx_type c)
 
MSparse< Complex > & insert (const Sparse< Complex > &a, const Array< octave_idx_type > &indx)
 
SparseComplexMatrixinsert (const SparseComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
SparseComplexMatrixinsert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
 
SparseComplexMatrixinsert (const SparseComplexMatrix &a, const Array< octave_idx_type > &indx)
 
SparseComplexMatrixinsert (const SparseMatrix &a, const Array< octave_idx_type > &indx)
 
SparseComplexMatrix inverse (void) const
 
SparseComplexMatrix inverse (MatrixType &mattype) const
 
SparseComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info) const
 
SparseComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info, double &rcond, bool force=false, bool calc_cond=true) const
 
SparseComplexMatrix ipermute (const Array< octave_idx_type > &vec) const
 
bool is_empty (void) const
 
bool is_hermitian (void) const
 
bool is_square (void) const
 
octave_idx_type length (void) const
 
MSparse< U > map (U(&fcn)(Complex)) const
 
MSparse< U > map (U(&fcn)(const Complex &)) const
 
Sparse< U > map (F fcn) const
 
ComplexMatrix matrix_value (void) const
 
SparseComplexMatrix max (int dim=-1) const
 
SparseComplexMatrix max (Array< octave_idx_type > &index, int dim=-1) const
 
Sparse< Complexmaybe_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
 
SparseComplexMatrix min (int dim=-1) const
 
SparseComplexMatrix 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
 Actual number of nonzero terms. More...
 
octave_idx_type numel (void) const
 
octave_idx_type nzmax (void) const
 Amount of storage for nonzero elements. More...
 
SparseBoolMatrix operator! (void) const
 
bool operator!= (const SparseComplexMatrix &a) const
 
Complexoperator() (octave_idx_type n)
 
Complexoperator() (octave_idx_type i, octave_idx_type j)
 
Complexoperator() (const Array< octave_idx_type > &ra_idx)
 
Complex operator() (octave_idx_type n) const
 
Complex operator() (octave_idx_type i, octave_idx_type j) const
 
Complex operator() (const Array< octave_idx_type > &ra_idx) const
 
SparseComplexMatrixoperator= (const SparseComplexMatrix &a)
 
bool operator== (const SparseComplexMatrix &a) const
 
SparseComplexMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
void print_info (std::ostream &os, const std::string &prefix) const
 
SparseComplexMatrix prod (int dim=-1) const
 
OCTAVE_NORETURN Complex range_error (const char *fcn, octave_idx_type n) const
 
OCTAVE_NORETURN Complexrange_error (const char *fcn, octave_idx_type n)
 
OCTAVE_NORETURN Complex range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const
 
OCTAVE_NORETURN Complexrange_error (const char *fcn, octave_idx_type i, octave_idx_type j)
 
OCTAVE_NORETURN Complex range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const
 
OCTAVE_NORETURN Complexrange_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
 
SparseComplexMatrix 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
 
ComplexRowVector row (octave_idx_type i) const
 
octave_idx_type rows (void) const
 
ComplexMatrix solve (MatrixType &typ, const Matrix &b) const
 
ComplexMatrix solve (MatrixType &typ, const Matrix &b, octave_idx_type &info) const
 
ComplexMatrix solve (MatrixType &typ, const Matrix &b, octave_idx_type &info, double &rcond) const
 
ComplexMatrix 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
 
SparseComplexMatrix solve (MatrixType &typ, const SparseMatrix &b) const
 
SparseComplexMatrix solve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix solve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond) const
 
SparseComplexMatrix 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_fallback=true) const
 
ComplexColumnVector solve (MatrixType &typ, const ColumnVector &b) const
 
ComplexColumnVector solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info) const
 
ComplexColumnVector solve (MatrixType &typ, const ColumnVector &b, octave_idx_type &info, double &rcond) const
 
ComplexColumnVector 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
 
ComplexMatrix solve (const Matrix &b) const
 
ComplexMatrix solve (const Matrix &b, octave_idx_type &info) const
 
ComplexMatrix solve (const Matrix &b, octave_idx_type &info, double &rcond) const
 
ComplexMatrix 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
 
SparseComplexMatrix solve (const SparseMatrix &b) const
 
SparseComplexMatrix solve (const SparseMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix solve (const SparseMatrix &b, octave_idx_type &info, double &rcond) const
 
SparseComplexMatrix 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
 
ComplexColumnVector solve (const ColumnVector &b) const
 
ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info) const
 
ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcond) const
 
ComplexColumnVector 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< Complexsort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< Complexsort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
SparseComplexMatrix squeeze (void) const
 
SparseComplexMatrix sum (int dim=-1) const
 
SparseComplexMatrix sumsq (int dim=-1) const
 
bool test (F fcn) const
 
bool test_all (F fcn) const
 
bool test_all (bool(&fcn)(Complex)) const
 
bool test_all (bool(&fcn)(const Complex &)) const
 
bool test_any (F fcn) const
 
bool test_any (bool(&fcn)(Complex)) const
 
bool test_any (bool(&fcn)(const Complex &)) const
 
bool too_large_for_float (void) const
 
SparseComplexMatrix transpose (void) const
 
octave_idx_typexcidx (void)
 
octave_idx_typexcidx (octave_idx_type i)
 
Complexxdata (void)
 
Complexxdata (octave_idx_type i)
 
Complexxelem (octave_idx_type n)
 
Complex xelem (octave_idx_type n) const
 
Complexxelem (octave_idx_type i, octave_idx_type j)
 
Complex xelem (octave_idx_type i, octave_idx_type j) const
 
Complexxelem (const Array< octave_idx_type > &ra_idx)
 
Complex 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< Complexcat (int dim, octave_idx_type n, const Sparse< Complex > *sparse_list)
 

Public Attributes

dim_vector dimensions
 
Sparse< Complex >::SparseRep * rep
 

Protected Member Functions

void make_unique (void)
 

Private Member Functions

ComplexMatrix 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
 
SparseComplexMatrix 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
 
SparseComplexMatrix dinverse (MatrixType &mattyp, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
ComplexMatrix 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
 
SparseComplexMatrix dsolve (MatrixType &typ, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix dsolve (MatrixType &typ, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
void * factorize (octave_idx_type &err, double &rcond, Matrix &Control, Matrix &Info, solve_singularity_handler sing_handler, bool calc_cond) const
 
ComplexMatrix 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
 
SparseComplexMatrix 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
 
ComplexMatrix 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
 
SparseComplexMatrix 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
 
SparseComplexMatrix tinverse (MatrixType &mattyp, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
ComplexMatrix 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
 
SparseComplexMatrix 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
 
ComplexMatrix 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
 
SparseComplexMatrix 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

SparseComplexMatrix conj (const SparseComplexMatrix &a)
 
OCTAVE_API std::ostream & operator<< (std::ostream &os, const SparseComplexMatrix &a)
 
OCTAVE_API std::istream & operator>> (std::istream &is, SparseComplexMatrix &a)
 

Detailed Description

Definition at line 50 of file CSparse.h.

Member Typedef Documentation

Definition at line 57 of file CSparse.h.

typedef Complex Sparse< Complex >::element_type
inherited

Definition at line 56 of file Sparse.h.

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

Definition at line 59 of file CSparse.h.

Constructor & Destructor Documentation

SparseComplexMatrix::SparseComplexMatrix ( void  )
inline

Definition at line 61 of file CSparse.h.

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

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

Definition at line 63 of file CSparse.h.

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

Definition at line 66 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( octave_idx_type  r,
octave_idx_type  c,
Complex  val 
)
inlineexplicit

Definition at line 69 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( octave_idx_type  r,
octave_idx_type  c,
double  val 
)
inline

Definition at line 73 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const SparseComplexMatrix a)
inline

Definition at line 76 of file CSparse.h.

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

Definition at line 79 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const MSparse< Complex > &  a)
inline

Definition at line 82 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const Sparse< Complex > &  a)
inline

Definition at line 84 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const ComplexMatrix a)
inlineexplicit

Definition at line 86 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const ComplexNDArray a)
inlineexplicit

Definition at line 89 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const Array< Complex > &  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 92 of file CSparse.h.

SparseComplexMatrix::SparseComplexMatrix ( const SparseMatrix a)
explicit

Definition at line 74 of file CSparse.cc.

SparseComplexMatrix::SparseComplexMatrix ( const SparseBoolMatrix a)
explicit
SparseComplexMatrix::SparseComplexMatrix ( const ComplexDiagMatrix a)
explicit
SparseComplexMatrix::SparseComplexMatrix ( octave_idx_type  r,
octave_idx_type  c,
octave_idx_type  num_nz 
)
inline

Definition at line 104 of file CSparse.h.

Member Function Documentation

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

Definition at line 7223 of file CSparse.cc.

References SPARSE_ALL_OP.

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

Definition at line 7229 of file CSparse.cc.

References SPARSE_ANY_OP.

bool SparseComplexMatrix::any_element_is_inf_or_nan ( void  ) const
bool SparseComplexMatrix::any_element_is_nan ( void  ) const
Array<Complex > Sparse< Complex >::array_value ( void  ) const
inherited
void Sparse< Complex >::assign ( const idx_vector i,
const Sparse< Complex > &  rhs 
)
inherited
void Sparse< Complex >::assign ( const idx_vector i,
const idx_vector j,
const Sparse< Complex > &  rhs 
)
inherited
ComplexMatrix SparseComplexMatrix::bsolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::bsolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::bsolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::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< Complex >::byte_size ( void  ) const
inlineinherited

Definition at line 284 of file Sparse.h.

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

Amount of storage for nonzero elements.

Synonymous with nzmax().

Definition at line 250 of file Sparse.h.

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

Definition at line 505 of file Sparse.h.

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

Definition at line 342 of file Sparse.h.

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

Definition at line 353 of file Sparse.h.

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

Definition at line 364 of file Sparse.h.

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

Definition at line 423 of file Sparse.h.

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

Definition at line 431 of file Sparse.h.

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

Definition at line 439 of file Sparse.h.

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

Definition at line 544 of file Sparse.h.

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

Definition at line 552 of file Sparse.h.

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

Definition at line 554 of file Sparse.h.

octave_idx_type Sparse< Complex >::cols ( void  ) const
inlineinherited
ComplexColumnVector SparseComplexMatrix::column ( octave_idx_type  i) const
octave_idx_type Sparse< Complex >::columns ( void  ) const
inlineinherited

Definition at line 273 of file Sparse.h.

Referenced by row().

octave_idx_type Sparse< Complex >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited
SparseComplexMatrix SparseComplexMatrix::concat ( const SparseComplexMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)
SparseComplexMatrix SparseComplexMatrix::concat ( const SparseMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)

Definition at line 591 of file CSparse.cc.

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

SparseComplexMatrix SparseComplexMatrix::cumprod ( int  dim = -1) const

Definition at line 7235 of file CSparse.cc.

References SPARSE_CUMPROD.

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

Definition at line 7241 of file CSparse.cc.

References SPARSE_CUMSUM.

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

Definition at line 522 of file Sparse.h.

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

Definition at line 526 of file Sparse.h.

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

Definition at line 528 of file Sparse.h.

void Sparse< Complex >::delete_elements ( const idx_vector i)
inherited
void Sparse< Complex >::delete_elements ( int  dim,
const idx_vector i 
)
inherited
void Sparse< Complex >::delete_elements ( const idx_vector i,
const idx_vector j 
)
inherited
ComplexDET SparseComplexMatrix::determinant ( void  ) const

Definition at line 1054 of file CSparse.cc.

Referenced by determinant(), and Fdet().

ComplexDET SparseComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1062 of file CSparse.cc.

References determinant().

ComplexDET SparseComplexMatrix::determinant ( octave_idx_type info,
double rcond,
bool  calc_cond = true 
) const
SparseComplexMatrix SparseComplexMatrix::diag ( octave_idx_type  k = 0) const

Definition at line 7302 of file CSparse.cc.

References MSparse< T >::diag().

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

Definition at line 268 of file Sparse.h.

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

Definition at line 269 of file Sparse.h.

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

Definition at line 291 of file Sparse.h.

Referenced by max(), and min().

SparseComplexMatrix SparseComplexMatrix::dinverse ( MatrixType mattyp,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const
private
ComplexMatrix SparseComplexMatrix::dsolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::dsolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::dsolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::dsolve ( MatrixType typ,
const SparseComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
Complex & Sparse< Complex >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 374 of file Sparse.h.

Referenced by max(), and min().

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

Definition at line 380 of file Sparse.h.

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

Definition at line 386 of file Sparse.h.

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

Definition at line 449 of file Sparse.h.

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

Definition at line 451 of file Sparse.h.

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

Definition at line 453 of file Sparse.h.

void * SparseComplexMatrix::factorize ( octave_idx_type err,
double rcond,
Matrix Control,
Matrix Info,
solve_singularity_handler  sing_handler,
bool  calc_cond 
) const
private
ComplexMatrix SparseComplexMatrix::fsolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::fsolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::fsolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::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< Complex >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 276 of file Sparse.h.

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

Definition at line 275 of file Sparse.h.

SparseComplexMatrix SparseComplexMatrix::hermitian ( void  ) const
Sparse<Complex > Sparse< Complex >::index ( const idx_vector i,
bool  resize_ok = false 
) const
inherited
Sparse<Complex > Sparse< Complex >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok = false 
) const
inherited
bool Sparse< Complex >::indices_ok ( void  ) const
inlineinherited

Definition at line 696 of file Sparse.h.

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

Definition at line 80 of file MSparse.h.

References Sparse< T >::insert().

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

Definition at line 86 of file MSparse.h.

References Sparse< T >::insert().

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

Definition at line 557 of file CSparse.cc.

References MSparse< T >::insert().

Referenced by SparseMatrix::concat(), concat(), and insert().

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

Definition at line 549 of file CSparse.cc.

References insert(), and tmp.

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

Definition at line 573 of file CSparse.cc.

References MSparse< T >::insert().

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

Definition at line 565 of file CSparse.cc.

References insert(), and tmp.

SparseComplexMatrix SparseComplexMatrix::inverse ( void  ) const

Definition at line 661 of file CSparse.cc.

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

SparseComplexMatrix SparseComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 670 of file CSparse.cc.

References inverse().

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

Definition at line 678 of file CSparse.cc.

References inverse().

SparseComplexMatrix SparseComplexMatrix::inverse ( MatrixType mattype,
octave_idx_type info,
double rcond,
bool  force = false,
bool  calc_cond = true 
) const
SparseComplexMatrix SparseComplexMatrix::ipermute ( const Array< octave_idx_type > &  vec) const

Definition at line 7127 of file CSparse.cc.

References MSparse< T >::ipermute().

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

Definition at line 517 of file Sparse.h.

bool SparseComplexMatrix::is_hermitian ( void  ) const
bool Sparse< Complex >::is_square ( void  ) const
inlineinherited

Definition at line 515 of file Sparse.h.

octave_idx_type Sparse< Complex >::length ( void  ) const
inlineinherited

Definition at line 266 of file Sparse.h.

ComplexMatrix SparseComplexMatrix::ltsolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::ltsolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::ltsolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::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< Complex >::make_unique ( void  )
inlineprotectedinherited

Definition at line 150 of file Sparse.h.

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

Definition at line 113 of file MSparse.h.

References fcn.

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

Definition at line 118 of file MSparse.h.

References fcn.

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

Definition at line 632 of file Sparse.h.

ComplexMatrix SparseComplexMatrix::matrix_value ( void  ) const
SparseComplexMatrix SparseComplexMatrix::max ( int  dim = -1) const

Definition at line 187 of file CSparse.cc.

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

Definition at line 481 of file Sparse.h.

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

Definition at line 577 of file Sparse.h.

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

Definition at line 579 of file Sparse.h.

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

Definition at line 584 of file Sparse.h.

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

Definition at line 344 of file CSparse.cc.

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

Definition at line 556 of file Sparse.h.

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

Definition at line 263 of file Sparse.h.

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

Definition at line 257 of file Sparse.h.

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

Amount of storage for nonzero elements.

This may differ from the actual number of elements, see nnz().

Definition at line 245 of file Sparse.h.

SparseBoolMatrix SparseComplexMatrix::operator! ( void  ) const

Definition at line 137 of file CSparse.cc.

References a.

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

Definition at line 406 of file Sparse.h.

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

Definition at line 411 of file Sparse.h.

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

Definition at line 416 of file Sparse.h.

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

Definition at line 469 of file Sparse.h.

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

Definition at line 470 of file Sparse.h.

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

Definition at line 475 of file Sparse.h.

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

Definition at line 108 of file CSparse.h.

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

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

Definition at line 7121 of file CSparse.cc.

References MSparse< T >::permute().

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

Definition at line 7247 of file CSparse.cc.

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

Referenced by prod().

OCTAVE_NORETURN Complex Sparse< Complex >::range_error ( const char *  fcn,
octave_idx_type  n 
) const
inherited
OCTAVE_NORETURN Complex & Sparse< Complex >::range_error ( const char *  fcn,
octave_idx_type  n 
)
inherited
OCTAVE_NORETURN Complex Sparse< Complex >::range_error ( const char *  fcn,
octave_idx_type  i,
octave_idx_type  j 
) const
inherited
OCTAVE_NORETURN Complex & Sparse< Complex >::range_error ( const char *  fcn,
octave_idx_type  i,
octave_idx_type  j 
)
inherited
OCTAVE_NORETURN Complex Sparse< Complex >::range_error ( const char *  fcn,
const Array< octave_idx_type > &  ra_idx 
) const
inherited
OCTAVE_NORETURN Complex & Sparse< Complex >::range_error ( const char *  fcn,
const Array< octave_idx_type > &  ra_idx 
)
inherited
SparseComplexMatrix SparseComplexMatrix::reshape ( const dim_vector new_dims) const

Definition at line 7115 of file CSparse.cc.

References MSparse< T >::reshape().

void Sparse< Complex >::resize ( octave_idx_type  r,
octave_idx_type  c 
)
inherited
void Sparse< Complex >::resize ( const dim_vector dv)
inherited
void Sparse< Complex >::resize1 ( octave_idx_type  n)
inherited
octave_idx_type* Sparse< Complex >::ridx ( void  )
inlineinherited
octave_idx_type& Sparse< Complex >::ridx ( octave_idx_type  i)
inlineinherited

Definition at line 531 of file Sparse.h.

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

Definition at line 539 of file Sparse.h.

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

Definition at line 541 of file Sparse.h.

ComplexRowVector SparseComplexMatrix::row ( octave_idx_type  i) const
octave_idx_type Sparse< Complex >::rows ( void  ) const
inlineinherited
ComplexMatrix SparseComplexMatrix::solve ( MatrixType typ,
const Matrix b 
) const

Definition at line 6564 of file CSparse.cc.

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

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

Definition at line 6572 of file CSparse.cc.

References solve().

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

Definition at line 6580 of file CSparse.cc.

References solve().

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

Definition at line 6694 of file CSparse.cc.

References solve().

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

Definition at line 6702 of file CSparse.cc.

References solve().

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

Definition at line 6710 of file CSparse.cc.

References solve().

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

Definition at line 6629 of file CSparse.cc.

References solve().

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

Definition at line 6637 of file CSparse.cc.

References solve().

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

Definition at line 6645 of file CSparse.cc.

References solve().

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

Definition at line 6759 of file CSparse.cc.

References solve().

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

Definition at line 6768 of file CSparse.cc.

References solve().

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

Definition at line 6776 of file CSparse.cc.

References solve().

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

Definition at line 6825 of file CSparse.cc.

References solve().

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

Definition at line 6832 of file CSparse.cc.

References solve().

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

Definition at line 6840 of file CSparse.cc.

References solve().

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

Definition at line 6847 of file CSparse.cc.

References ComplexMatrix::column(), solve(), and tmp.

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

Definition at line 6857 of file CSparse.cc.

References solve().

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

Definition at line 6866 of file CSparse.cc.

References solve().

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

Definition at line 6874 of file CSparse.cc.

References solve().

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

Definition at line 6881 of file CSparse.cc.

References ComplexMatrix::column(), solve(), and tmp.

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b) const

Definition at line 6891 of file CSparse.cc.

References solve().

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b,
octave_idx_type info 
) const

Definition at line 6899 of file CSparse.cc.

References solve().

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

Definition at line 6906 of file CSparse.cc.

References solve().

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

Definition at line 6913 of file CSparse.cc.

References solve().

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

Definition at line 6954 of file CSparse.cc.

References solve().

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

Definition at line 6962 of file CSparse.cc.

References solve().

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

Definition at line 6969 of file CSparse.cc.

References solve().

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseMatrix b) const

Definition at line 6922 of file CSparse.cc.

References solve().

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

Definition at line 6930 of file CSparse.cc.

References solve().

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

Definition at line 6938 of file CSparse.cc.

References solve().

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

Definition at line 6945 of file CSparse.cc.

References solve().

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 6978 of file CSparse.cc.

References solve().

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

Definition at line 6986 of file CSparse.cc.

References solve().

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

Definition at line 6994 of file CSparse.cc.

References solve().

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

Definition at line 7001 of file CSparse.cc.

References solve().

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b) const

Definition at line 7010 of file CSparse.cc.

References solve().

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b,
octave_idx_type info 
) const

Definition at line 7017 of file CSparse.cc.

References solve().

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

Definition at line 7024 of file CSparse.cc.

References solve().

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

Definition at line 7031 of file CSparse.cc.

References ComplexMatrix::column(), solve(), and tmp.

ComplexColumnVector SparseComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7041 of file CSparse.cc.

References solve().

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

Definition at line 7049 of file CSparse.cc.

References solve().

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

Definition at line 7057 of file CSparse.cc.

References solve().

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

Definition at line 7064 of file CSparse.cc.

References ComplexMatrix::column(), solve(), and tmp.

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

Definition at line 7109 of file CSparse.cc.

References MSparse< T >::squeeze().

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

Definition at line 7259 of file CSparse.cc.

References SPARSE_REDUCTION_OP.

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

Definition at line 7265 of file CSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

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

Definition at line 603 of file Sparse.h.

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

Definition at line 614 of file Sparse.h.

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

Definition at line 624 of file Sparse.h.

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

Definition at line 627 of file Sparse.h.

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

Definition at line 610 of file Sparse.h.

Referenced by too_large_for_float().

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

Definition at line 618 of file Sparse.h.

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

Definition at line 621 of file Sparse.h.

SparseComplexMatrix SparseComplexMatrix::tinverse ( MatrixType mattyp,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const
private
bool SparseComplexMatrix::too_large_for_float ( void  ) const
SparseComplexMatrix SparseComplexMatrix::transpose ( void  ) const
inline

Definition at line 141 of file CSparse.h.

References MSparse< T >::transpose().

Referenced by dinverse(), inverse(), oct_unop_transpose(), prod(), and read_mat_binary_data().

ComplexMatrix SparseComplexMatrix::trisolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::trisolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::trisolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::trisolve ( MatrixType typ,
const SparseComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::utsolve ( MatrixType typ,
const Matrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
ComplexMatrix SparseComplexMatrix::utsolve ( MatrixType typ,
const ComplexMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::utsolve ( MatrixType typ,
const SparseMatrix b,
octave_idx_type info,
double rcond,
solve_singularity_handler  sing_handler,
bool  calc_cond = false 
) const
private
SparseComplexMatrix SparseComplexMatrix::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< Complex >::xcidx ( void  )
inlineinherited

Definition at line 549 of file Sparse.h.

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

Definition at line 550 of file Sparse.h.

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

Definition at line 523 of file Sparse.h.

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

Definition at line 524 of file Sparse.h.

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

Definition at line 312 of file Sparse.h.

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

Definition at line 319 of file Sparse.h.

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

Definition at line 326 of file Sparse.h.

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

Definition at line 327 of file Sparse.h.

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

Definition at line 332 of file Sparse.h.

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

Definition at line 335 of file Sparse.h.

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

Definition at line 536 of file Sparse.h.

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

Definition at line 537 of file Sparse.h.

Friends And Related Function Documentation

SparseComplexMatrix conj ( const SparseComplexMatrix a)
friend

Definition at line 641 of file CSparse.cc.

Referenced by hermitian(), and is_hermitian().

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

Definition at line 7308 of file CSparse.cc.

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

Definition at line 7329 of file CSparse.cc.

Member Data Documentation

dim_vector Sparse< Complex >::dimensions
inherited

Definition at line 170 of file Sparse.h.

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

Definition at line 168 of file Sparse.h.


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