GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
SparseComplexMatrix Class Reference

#include "CSparse.h"

Inheritance diagram for SparseComplexMatrix:
Collaboration diagram for SparseComplexMatrix:

Public Types

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

Public Member Functions

 SparseComplexMatrix (const Array< Complex > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
 
OCTAVE_API SparseComplexMatrix (const ComplexDiagMatrix &a)
 
 SparseComplexMatrix (const ComplexMatrix &a)
 
 SparseComplexMatrix (const ComplexNDArray &a)
 
 SparseComplexMatrix (const dim_vector &dv, octave_idx_type nz=0)
 
 SparseComplexMatrix (const MSparse< Complex > &a)
 
 SparseComplexMatrix (const Sparse< Complex > &a)
 
OCTAVE_API SparseComplexMatrix (const SparseBoolMatrix &a)
 
 SparseComplexMatrix (const SparseComplexMatrix &a)
 
 SparseComplexMatrix (const SparseComplexMatrix &a, const dim_vector &dv)
 
OCTAVE_API SparseComplexMatrix (const SparseMatrix &a)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c, Complex val)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c, double val)
 
 SparseComplexMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
 
 SparseComplexMatrix (void)
 
OCTAVE_API SparseMatrix abs (void) const
 
OCTAVE_API SparseBoolMatrix all (int dim=-1) const
 
OCTAVE_API bool all_elements_are_real (void) const
 
OCTAVE_API bool all_integers (double &max_val, double &min_val) const
 
OCTAVE_API SparseBoolMatrix any (int dim=-1) const
 
OCTAVE_API bool any_element_is_inf_or_nan (void) const
 
OCTAVE_API bool any_element_is_nan (void) const
 
OCTAVE_API Array< Complexarray_value (void) const
 
OCTAVE_API void assign (const octave::idx_vector &i, const Complex &rhs)
 
OCTAVE_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Complex &rhs)
 
OCTAVE_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Sparse< Complex, Alloc > &rhs)
 
OCTAVE_API void assign (const octave::idx_vector &i, const Sparse< Complex, Alloc > &rhs)
 
std::size_t byte_size (void) const
 
void change_capacity (octave_idx_type nz)
 
Complexcheckelem (const Array< octave_idx_type > &ra_idx)
 
Complex checkelem (const Array< octave_idx_type > &ra_idx) const
 
Complexcheckelem (octave_idx_type i, octave_idx_type j)
 
Complex checkelem (octave_idx_type i, octave_idx_type j) const
 
Complexcheckelem (octave_idx_type n)
 
Complex checkelem (octave_idx_type n) const
 
octave_idx_typecidx (octave_idx_type i)
 
octave_idx_type cidx (octave_idx_type i) const
 
octave_idx_typecidx (void)
 
octave_idx_typecidx (void) const
 
octave_idx_type cols (void) const
 
OCTAVE_API ComplexColumnVector column (octave_idx_type i) const
 
octave_idx_type columns (void) const
 
OCTAVE_API octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 
OCTAVE_API SparseComplexMatrix concat (const SparseComplexMatrix &rb, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_API SparseComplexMatrix concat (const SparseMatrix &rb, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_API SparseComplexMatrix cumprod (int dim=-1) const
 
OCTAVE_API SparseComplexMatrix cumsum (int dim=-1) const
 
Complexdata (octave_idx_type i)
 
Complex data (octave_idx_type i) const
 
Complexdata (void)
 
Complexdata (void) const
 
OCTAVE_API void delete_elements (const octave::idx_vector &i)
 
OCTAVE_API void delete_elements (const octave::idx_vector &i, const octave::idx_vector &j)
 
OCTAVE_API void delete_elements (int dim, const octave::idx_vector &i)
 
OCTAVE_API ComplexDET determinant (octave_idx_type &info) const
 
OCTAVE_API ComplexDET determinant (octave_idx_type &info, double &rcond, bool calc_cond=true) const
 
OCTAVE_API ComplexDET determinant (void) const
 
OCTAVE_API 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 (const Array< octave_idx_type > &ra_idx)
 
Complex elem (const Array< octave_idx_type > &ra_idx) const
 
Complexelem (octave_idx_type i, octave_idx_type j)
 
Complex elem (octave_idx_type i, octave_idx_type j) const
 
Complexelem (octave_idx_type n)
 
Complex elem (octave_idx_type n) const
 
octave_idx_type get_col_index (octave_idx_type k)
 
octave_idx_type get_row_index (octave_idx_type k)
 
OCTAVE_API SparseComplexMatrix hermitian (void) const
 
OCTAVE_API Sparse< Complex, Allocindex (const octave::idx_vector &i, bool resize_ok=false) const
 
OCTAVE_API Sparse< Complex, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok=false) const
 
bool indices_ok (void) const
 
MSparse< Complex > & insert (const Sparse< Complex > &a, const Array< octave_idx_type > &indx)
 
MSparse< Complex > & insert (const Sparse< Complex > &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API Sparse< Complex, Alloc > & insert (const Sparse< Complex, Alloc > &a, const Array< octave_idx_type > &idx)
 
OCTAVE_API Sparse< Complex, Alloc > & insert (const Sparse< Complex, Alloc > &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API SparseComplexMatrixinsert (const SparseComplexMatrix &a, const Array< octave_idx_type > &indx)
 
OCTAVE_API SparseComplexMatrixinsert (const SparseComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API SparseComplexMatrixinsert (const SparseMatrix &a, const Array< octave_idx_type > &indx)
 
OCTAVE_API SparseComplexMatrixinsert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API SparseComplexMatrix inverse (MatrixType &mattype) const
 
OCTAVE_API SparseComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info) const
 
OCTAVE_API SparseComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info, double &rcond, bool force=false, bool calc_cond=true) const
 
OCTAVE_API SparseComplexMatrix inverse (void) const
 
OCTAVE_API SparseComplexMatrix ipermute (const Array< octave_idx_type > &vec) const
 
bool isempty (void) const
 
OCTAVE_API bool ishermitian (void) const
 
bool issquare (void) const
 
Sparse< U > map (F fcn) const
 
Sparse< U > map (U(&fcn)(Complex)) const
 
Sparse< U > map (U(&fcn)(const Complex &)) const
 
OCTAVE_API ComplexMatrix matrix_value (void) const
 
OCTAVE_API SparseComplexMatrix max (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API SparseComplexMatrix max (int dim=-1) const
 
Sparse< Complex, Allocmaybe_compress (bool remove_zeros=false)
 
OCTAVE_API SparseComplexMatrix min (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API SparseComplexMatrix min (int dim=-1) const
 
octave_idx_type ndims (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...
 
OCTAVE_API SparseBoolMatrix operator! (void) const
 
OCTAVE_API bool operator!= (const SparseComplexMatrix &a) const
 
Complexoperator() (const Array< octave_idx_type > &ra_idx)
 
Complex operator() (const Array< octave_idx_type > &ra_idx) const
 
Complexoperator() (octave_idx_type i, octave_idx_type j)
 
Complex operator() (octave_idx_type i, octave_idx_type j) const
 
Complexoperator() (octave_idx_type n)
 
Complex operator() (octave_idx_type n) const
 
SparseComplexMatrixoperator= (const SparseComplexMatrix &a)
 
OCTAVE_API bool operator== (const SparseComplexMatrix &a) const
 
OCTAVE_API SparseComplexMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
OCTAVE_API void print_info (std::ostream &os, const std::string &prefix) const
 
OCTAVE_API SparseComplexMatrix prod (int dim=-1) const
 
OCTAVE_NORETURN OCTAVE_API Complexrange_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_NORETURN OCTAVE_API Complex range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const
 
OCTAVE_NORETURN OCTAVE_API Complexrange_error (const char *fcn, octave_idx_type i, octave_idx_type j)
 
OCTAVE_NORETURN OCTAVE_API Complex range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const
 
OCTAVE_NORETURN OCTAVE_API Complexrange_error (const char *fcn, octave_idx_type n)
 
OCTAVE_NORETURN OCTAVE_API Complex range_error (const char *fcn, octave_idx_type n) const
 
OCTAVE_API SparseComplexMatrix reshape (const dim_vector &new_dims) const
 
OCTAVE_API void resize (const dim_vector &dv)
 
OCTAVE_API void resize (octave_idx_type r, octave_idx_type c)
 
OCTAVE_API void resize1 (octave_idx_type n)
 
octave_idx_typeridx (octave_idx_type i)
 
octave_idx_type ridx (octave_idx_type i) const
 
octave_idx_typeridx (void)
 
octave_idx_typeridx (void) const
 
OCTAVE_API ComplexRowVector row (octave_idx_type i) const
 
octave_idx_type rows (void) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseComplexMatrix &b) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseMatrix &b) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseMatrix &b, octave_idx_type &info) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API SparseComplexMatrix solve (const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond) const
 
OCTAVE_API SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
OCTAVE_API Sparse< Complex, Allocsort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
OCTAVE_API Sparse< Complex, Allocsort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
OCTAVE_API SparseComplexMatrix squeeze (void) const
 
OCTAVE_API SparseComplexMatrix sum (int dim=-1) const
 
OCTAVE_API SparseComplexMatrix sumsq (int dim=-1) const
 
bool test (F fcn) const
 
bool test_all (bool(&fcn)(Complex)) const
 
bool test_all (bool(&fcn)(const Complex &)) const
 
bool test_all (F fcn) const
 
bool test_any (bool(&fcn)(Complex)) const
 
bool test_any (bool(&fcn)(const Complex &)) const
 
bool test_any (F fcn) const
 
OCTAVE_API bool too_large_for_float (void) const
 
SparseComplexMatrix transpose (void) const
 
octave_idx_typexcidx (octave_idx_type i)
 
octave_idx_typexcidx (void)
 
Complexxdata (octave_idx_type i)
 
Complexxdata (void)
 
Complexxelem (const Array< octave_idx_type > &ra_idx)
 
Complex xelem (const Array< octave_idx_type > &ra_idx) const
 
Complexxelem (octave_idx_type i, octave_idx_type j)
 
Complex xelem (octave_idx_type i, octave_idx_type j) const
 
Complexxelem (octave_idx_type n)
 
Complex xelem (octave_idx_type n) const
 
octave_idx_typexridx (octave_idx_type i)
 
octave_idx_typexridx (void)
 

Static Public Member Functions

static OCTAVE_API Sparse< Complex, Alloccat (int dim, octave_idx_type n, const Sparse< Complex, Alloc > *sparse_list)
 

Protected Member Functions

void make_unique (void)
 

Protected Attributes

dim_vector m_dimensions
 
Sparse< Complex, Alloc >::SparseRep * m_rep
 

Private Member Functions

ComplexMatrix bsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix bsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix bsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix bsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix dinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
ComplexMatrix dsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix dsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix dsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix dsolve (MatrixType &mattype, const SparseMatrix &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 &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix fsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix fsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix fsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix ltsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix ltsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix ltsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix ltsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix tinverse (MatrixType &mattype, octave_idx_type &info, double &rcond, const bool force=false, const bool calccond=true) const
 
ComplexMatrix trisolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix trisolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix trisolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix trisolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix utsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix utsolve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix utsolve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
SparseComplexMatrix utsolve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 

Static Private Member Functions

static OCTAVE_API Sparse< Complex, Alloc >::SparseRep * nil_rep (void)
 

Friends

OCTAVE_API 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 44 of file CSparse.h.

Member Typedef Documentation

◆ dense_matrix_type

◆ element_type

typedef Complex Sparse< Complex , Alloc >::element_type
inherited

Definition at line 52 of file Sparse.h.

◆ solve_singularity_handler

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

Definition at line 53 of file CSparse.h.

Constructor & Destructor Documentation

◆ SparseComplexMatrix() [1/16]

SparseComplexMatrix::SparseComplexMatrix ( void  )
inline

Definition at line 55 of file CSparse.h.

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

◆ SparseComplexMatrix() [2/16]

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

Definition at line 57 of file CSparse.h.

◆ SparseComplexMatrix() [3/16]

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

Definition at line 60 of file CSparse.h.

◆ SparseComplexMatrix() [4/16]

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

Definition at line 63 of file CSparse.h.

◆ SparseComplexMatrix() [5/16]

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

Definition at line 67 of file CSparse.h.

◆ SparseComplexMatrix() [6/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseComplexMatrix a)
inline

Definition at line 70 of file CSparse.h.

◆ SparseComplexMatrix() [7/16]

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

Definition at line 73 of file CSparse.h.

◆ SparseComplexMatrix() [8/16]

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

Definition at line 76 of file CSparse.h.

◆ SparseComplexMatrix() [9/16]

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

Definition at line 78 of file CSparse.h.

◆ SparseComplexMatrix() [10/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexMatrix a)
inlineexplicit

Definition at line 80 of file CSparse.h.

◆ SparseComplexMatrix() [11/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexNDArray a)
inlineexplicit

Definition at line 83 of file CSparse.h.

◆ SparseComplexMatrix() [12/16]

SparseComplexMatrix::SparseComplexMatrix ( const Array< Complex > &  a,
const octave::idx_vector r,
const octave::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 86 of file CSparse.h.

◆ SparseComplexMatrix() [13/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseMatrix a)
explicit

Definition at line 73 of file CSparse.cc.

◆ SparseComplexMatrix() [14/16]

◆ SparseComplexMatrix() [15/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexDiagMatrix a)
explicit

◆ SparseComplexMatrix() [16/16]

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

Definition at line 98 of file CSparse.h.

Member Function Documentation

◆ abs()

◆ all()

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

Definition at line 7361 of file CSparse.cc.

References SPARSE_ALL_OP.

◆ all_elements_are_real()

bool SparseComplexMatrix::all_elements_are_real ( void  ) const

◆ all_integers()

bool SparseComplexMatrix::all_integers ( double max_val,
double min_val 
) const

◆ any()

SparseBoolMatrix SparseComplexMatrix::any ( int  dim = -1) const

Definition at line 7367 of file CSparse.cc.

References SPARSE_ANY_OP.

◆ any_element_is_inf_or_nan()

bool SparseComplexMatrix::any_element_is_inf_or_nan ( void  ) const

◆ any_element_is_nan()

bool SparseComplexMatrix::any_element_is_nan ( void  ) const

◆ array_value()

OCTAVE_API Array< Complex > Sparse< Complex , Alloc >::array_value ( void  ) const
inherited

Definition at line 652 of file Sparse.cc.

◆ assign() [1/4]

OCTAVE_API void Sparse< Complex , Alloc >::assign ( const octave::idx_vector i,
const Complex rhs 
)
inherited

Definition at line 627 of file Sparse.cc.

◆ assign() [2/4]

OCTAVE_API void Sparse< Complex , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Complex rhs 
)
inherited

Definition at line 634 of file Sparse.cc.

◆ assign() [3/4]

OCTAVE_API void Sparse< Complex , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Sparse< Complex , Alloc > &  rhs 
)
inherited

Definition at line 630 of file Sparse.cc.

◆ assign() [4/4]

OCTAVE_API void Sparse< Complex , Alloc >::assign ( const octave::idx_vector i,
const Sparse< Complex , Alloc > &  rhs 
)
inherited

Definition at line 624 of file Sparse.cc.

◆ bsolve() [1/4]

◆ bsolve() [2/4]

◆ bsolve() [3/4]

◆ bsolve() [4/4]

◆ byte_size()

std::size_t Sparse< Complex , Alloc >::byte_size ( void  ) const
inlineinherited

Definition at line 364 of file Sparse.h.

◆ cat()

OCTAVE_API Sparse< Complex , Alloc > Sparse< Complex , Alloc >::cat ( int  dim,
octave_idx_type  n,
const Sparse< Complex , Alloc > *  sparse_list 
)
staticinherited

Definition at line 650 of file Sparse.cc.

◆ change_capacity()

void Sparse< Complex , Alloc >::change_capacity ( octave_idx_type  nz)
inlineinherited

Definition at line 556 of file Sparse.h.

◆ checkelem() [1/6]

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

Definition at line 446 of file Sparse.h.

◆ checkelem() [2/6]

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

Definition at line 502 of file Sparse.h.

◆ checkelem() [3/6]

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

Definition at line 435 of file Sparse.h.

◆ checkelem() [4/6]

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

Definition at line 494 of file Sparse.h.

◆ checkelem() [5/6]

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

Definition at line 424 of file Sparse.h.

◆ checkelem() [6/6]

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

Definition at line 486 of file Sparse.h.

◆ cidx() [1/4]

octave_idx_type & Sparse< Complex , Alloc >::cidx ( octave_idx_type  i)
inlineinherited

Definition at line 597 of file Sparse.h.

◆ cidx() [2/4]

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

Definition at line 605 of file Sparse.h.

◆ cidx() [3/4]

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

Definition at line 596 of file Sparse.h.

◆ cidx() [4/4]

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

Definition at line 607 of file Sparse.h.

◆ cols()

octave_idx_type Sparse< Complex , Alloc >::cols ( void  ) const
inlineinherited

Definition at line 352 of file Sparse.h.

◆ column()

◆ columns()

octave_idx_type Sparse< Complex , Alloc >::columns ( void  ) const
inlineinherited

Definition at line 353 of file Sparse.h.

◆ compute_index()

OCTAVE_API octave_idx_type Sparse< Complex , Alloc >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited

Definition at line 376 of file Sparse.cc.

◆ concat() [1/2]

SparseComplexMatrix SparseComplexMatrix::concat ( const SparseComplexMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)

◆ concat() [2/2]

SparseComplexMatrix SparseComplexMatrix::concat ( const SparseMatrix rb,
const Array< octave_idx_type > &  ra_idx 
)

Definition at line 590 of file CSparse.cc.

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

◆ cumprod()

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

Definition at line 7373 of file CSparse.cc.

References cumprod(), and SPARSE_CUMPROD.

Referenced by cumprod().

◆ cumsum()

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

Definition at line 7379 of file CSparse.cc.

References cumsum(), and SPARSE_CUMSUM.

Referenced by cumsum(), and Fcumsum().

◆ data() [1/4]

Complex & Sparse< Complex , Alloc >::data ( octave_idx_type  i)
inlineinherited

Definition at line 575 of file Sparse.h.

◆ data() [2/4]

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

Definition at line 579 of file Sparse.h.

◆ data() [3/4]

Complex * Sparse< Complex , Alloc >::data ( void  )
inlineinherited

Definition at line 574 of file Sparse.h.

◆ data() [4/4]

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

Definition at line 581 of file Sparse.h.

◆ delete_elements() [1/3]

OCTAVE_API void Sparse< Complex , Alloc >::delete_elements ( const octave::idx_vector i)
inherited

Definition at line 611 of file Sparse.cc.

◆ delete_elements() [2/3]

OCTAVE_API void Sparse< Complex , Alloc >::delete_elements ( const octave::idx_vector i,
const octave::idx_vector j 
)
inherited

Definition at line 615 of file Sparse.cc.

◆ delete_elements() [3/3]

OCTAVE_API void Sparse< Complex , Alloc >::delete_elements ( int  dim,
const octave::idx_vector i 
)
inherited

Definition at line 613 of file Sparse.cc.

◆ determinant() [1/3]

ComplexDET SparseComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1079 of file CSparse.cc.

References determinant().

◆ determinant() [2/3]

◆ determinant() [3/3]

ComplexDET SparseComplexMatrix::determinant ( void  ) const

Definition at line 1071 of file CSparse.cc.

References determinant().

Referenced by determinant(), and Fdet().

◆ diag()

SparseComplexMatrix SparseComplexMatrix::diag ( octave_idx_type  k = 0) const

Definition at line 7440 of file CSparse.cc.

References MSparse< T >::diag().

◆ dim1()

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

Definition at line 348 of file Sparse.h.

◆ dim2()

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

Definition at line 349 of file Sparse.h.

◆ dims()

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

Definition at line 371 of file Sparse.h.

◆ dinverse()

SparseComplexMatrix SparseComplexMatrix::dinverse ( MatrixType mattype,
octave_idx_type info,
double rcond,
const bool  force = false,
const bool  calccond = true 
) const
private

◆ dsolve() [1/4]

◆ dsolve() [2/4]

◆ dsolve() [3/4]

◆ dsolve() [4/4]

◆ elem() [1/6]

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

Definition at line 468 of file Sparse.h.

◆ elem() [2/6]

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

Definition at line 516 of file Sparse.h.

◆ elem() [3/6]

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

Definition at line 462 of file Sparse.h.

◆ elem() [4/6]

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

Definition at line 514 of file Sparse.h.

◆ elem() [5/6]

Complex & Sparse< Complex , Alloc >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 456 of file Sparse.h.

◆ elem() [6/6]

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

Definition at line 512 of file Sparse.h.

◆ factorize()

◆ fsolve() [1/4]

◆ fsolve() [2/4]

◆ fsolve() [3/4]

◆ fsolve() [4/4]

◆ get_col_index()

octave_idx_type Sparse< Complex , Alloc >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 356 of file Sparse.h.

◆ get_row_index()

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

Definition at line 355 of file Sparse.h.

◆ hermitian()

◆ index() [1/2]

OCTAVE_API Sparse< Complex , Alloc > Sparse< Complex , Alloc >::index ( const octave::idx_vector i,
bool  resize_ok = false 
) const
inherited

Definition at line 618 of file Sparse.cc.

◆ index() [2/2]

OCTAVE_API Sparse< Complex , Alloc > Sparse< Complex , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok = false 
) const
inherited

Definition at line 621 of file Sparse.cc.

◆ indices_ok()

bool Sparse< Complex , Alloc >::indices_ok ( void  ) const
inlineinherited

Definition at line 749 of file Sparse.h.

◆ insert() [1/8]

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

Definition at line 92 of file MSparse.h.

◆ insert() [2/8]

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

Definition at line 86 of file MSparse.h.

◆ insert() [3/8]

OCTAVE_API Sparse< Complex , Alloc > & Sparse< Complex , Alloc >::insert ( const Sparse< Complex , Alloc > &  a,
const Array< octave_idx_type > &  idx 
)
inherited

Definition at line 566 of file Sparse.cc.

◆ insert() [4/8]

OCTAVE_API Sparse< Complex , Alloc > & Sparse< Complex , Alloc >::insert ( const Sparse< Complex , Alloc > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited

Definition at line 564 of file Sparse.cc.

◆ insert() [5/8]

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

Definition at line 572 of file CSparse.cc.

References MSparse< T >::insert().

◆ insert() [6/8]

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

Definition at line 556 of file CSparse.cc.

References MSparse< T >::insert().

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

◆ insert() [7/8]

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

Definition at line 564 of file CSparse.cc.

References insert().

◆ insert() [8/8]

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

Definition at line 548 of file CSparse.cc.

References insert().

◆ inverse() [1/4]

SparseComplexMatrix SparseComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 669 of file CSparse.cc.

References inverse().

◆ inverse() [2/4]

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

Definition at line 677 of file CSparse.cc.

References inverse().

◆ inverse() [3/4]

◆ inverse() [4/4]

SparseComplexMatrix SparseComplexMatrix::inverse ( void  ) const

Definition at line 660 of file CSparse.cc.

References inverse().

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

◆ ipermute()

SparseComplexMatrix SparseComplexMatrix::ipermute ( const Array< octave_idx_type > &  vec) const

Definition at line 7265 of file CSparse.cc.

References MSparse< T >::ipermute().

◆ isempty()

bool Sparse< Complex , Alloc >::isempty ( void  ) const
inlineinherited

Definition at line 570 of file Sparse.h.

◆ ishermitian()

bool SparseComplexMatrix::ishermitian ( void  ) const

◆ issquare()

bool Sparse< Complex , Alloc >::issquare ( void  ) const
inlineinherited

Definition at line 568 of file Sparse.h.

◆ ltsolve() [1/4]

◆ ltsolve() [2/4]

◆ ltsolve() [3/4]

◆ ltsolve() [4/4]

◆ make_unique()

void Sparse< Complex , Alloc >::make_unique ( void  )
inlineprotectedinherited

Definition at line 234 of file Sparse.h.

◆ map() [1/3]

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

Definition at line 685 of file Sparse.h.

◆ map() [2/3]

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

Definition at line 119 of file MSparse.h.

◆ map() [3/3]

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

Definition at line 124 of file MSparse.h.

◆ matrix_value()

◆ max() [1/2]

◆ max() [2/2]

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

Definition at line 186 of file CSparse.cc.

References max().

Referenced by max().

◆ maybe_compress()

Sparse< Complex , Alloc > Sparse< Complex , Alloc >::maybe_compress ( bool  remove_zeros = false)
inlineinherited

Definition at line 531 of file Sparse.h.

◆ min() [1/2]

◆ min() [2/2]

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

Definition at line 343 of file CSparse.cc.

References min().

Referenced by min().

◆ ndims()

octave_idx_type Sparse< Complex , Alloc >::ndims ( void  ) const
inlineinherited

Definition at line 609 of file Sparse.h.

◆ nil_rep()

OCTAVE_API Sparse< Complex , Alloc >::SparseRep * Sparse< Complex , Alloc >::nil_rep ( void  )
staticprivateinherited

Definition at line 255 of file Sparse.cc.

◆ nnz()

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

Actual number of nonzero terms.

Definition at line 339 of file Sparse.h.

◆ numel()

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

Definition at line 343 of file Sparse.h.

◆ nzmax()

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

Amount of storage for nonzero elements.

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

Definition at line 336 of file Sparse.h.

◆ operator!()

◆ operator!=()

Definition at line 136 of file CSparse.cc.

◆ operator()() [1/6]

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

Definition at line 481 of file Sparse.h.

◆ operator()() [2/6]

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

Definition at line 526 of file Sparse.h.

◆ operator()() [3/6]

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

Definition at line 476 of file Sparse.h.

◆ operator()() [4/6]

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

Definition at line 521 of file Sparse.h.

◆ operator()() [5/6]

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

Definition at line 471 of file Sparse.h.

◆ operator()() [6/6]

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

Definition at line 519 of file Sparse.h.

◆ operator=()

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

Definition at line 102 of file CSparse.h.

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

◆ operator==()

◆ permute()

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

Definition at line 7259 of file CSparse.cc.

References MSparse< T >::permute().

◆ print_info()

OCTAVE_API void Sparse< Complex , Alloc >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
inherited

Definition at line 638 of file Sparse.cc.

◆ prod()

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

Definition at line 7385 of file CSparse.cc.

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

Referenced by Fprod(), and prod().

◆ range_error() [1/6]

OCTAVE_API Complex & Sparse< Complex , Alloc >::range_error ( const char *  fcn,
const Array< octave_idx_type > &  ra_idx 
)
inherited

Definition at line 391 of file Sparse.cc.

◆ range_error() [2/6]

OCTAVE_API Complex Sparse< Complex , Alloc >::range_error ( const char *  fcn,
const Array< octave_idx_type > &  ra_idx 
) const
inherited

Definition at line 389 of file Sparse.cc.

◆ range_error() [3/6]

OCTAVE_API Complex & Sparse< Complex , Alloc >::range_error ( const char *  fcn,
octave_idx_type  i,
octave_idx_type  j 
)
inherited

Definition at line 386 of file Sparse.cc.

◆ range_error() [4/6]

OCTAVE_API Complex Sparse< Complex , Alloc >::range_error ( const char *  fcn,
octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Definition at line 384 of file Sparse.cc.

◆ range_error() [5/6]

OCTAVE_API Complex & Sparse< Complex , Alloc >::range_error ( const char *  fcn,
octave_idx_type  n 
)
inherited

Definition at line 381 of file Sparse.cc.

◆ range_error() [6/6]

OCTAVE_API Complex Sparse< Complex , Alloc >::range_error ( const char *  fcn,
octave_idx_type  n 
) const
inherited

Definition at line 379 of file Sparse.cc.

◆ reshape()

SparseComplexMatrix SparseComplexMatrix::reshape ( const dim_vector new_dims) const

Definition at line 7253 of file CSparse.cc.

References MSparse< T >::reshape().

◆ resize() [1/2]

OCTAVE_API void Sparse< Complex , Alloc >::resize ( const dim_vector dv)
inherited

Definition at line 554 of file Sparse.cc.

◆ resize() [2/2]

OCTAVE_API void Sparse< Complex , Alloc >::resize ( octave_idx_type  r,
octave_idx_type  c 
)
inherited

Definition at line 552 of file Sparse.cc.

◆ resize1()

OCTAVE_API void Sparse< Complex , Alloc >::resize1 ( octave_idx_type  n)
inherited

Definition at line 550 of file Sparse.cc.

◆ ridx() [1/4]

octave_idx_type & Sparse< Complex , Alloc >::ridx ( octave_idx_type  i)
inlineinherited

Definition at line 584 of file Sparse.h.

◆ ridx() [2/4]

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

Definition at line 592 of file Sparse.h.

◆ ridx() [3/4]

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

Definition at line 583 of file Sparse.h.

◆ ridx() [4/4]

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

Definition at line 594 of file Sparse.h.

◆ row()

◆ rows()

octave_idx_type Sparse< Complex , Alloc >::rows ( void  ) const
inlineinherited

Definition at line 351 of file Sparse.h.

◆ solve() [1/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b) const

Definition at line 7148 of file CSparse.cc.

References solve().

◆ solve() [2/48]

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

Definition at line 7155 of file CSparse.cc.

References solve().

◆ solve() [3/48]

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

Definition at line 7162 of file CSparse.cc.

References solve().

◆ solve() [4/48]

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

Definition at line 7169 of file CSparse.cc.

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

◆ solve() [5/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7179 of file CSparse.cc.

References solve().

◆ solve() [6/48]

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

Definition at line 7187 of file CSparse.cc.

References solve().

◆ solve() [7/48]

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

Definition at line 7195 of file CSparse.cc.

References solve().

◆ solve() [8/48]

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

Definition at line 7202 of file CSparse.cc.

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

◆ solve() [9/48]

OCTAVE_API ComplexMatrix SparseComplexMatrix::solve ( const ComplexMatrix b) const

◆ solve() [10/48]

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

Definition at line 7092 of file CSparse.cc.

References solve().

◆ solve() [11/48]

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

Definition at line 7100 of file CSparse.cc.

References solve().

◆ solve() [12/48]

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

Definition at line 7107 of file CSparse.cc.

References solve().

◆ solve() [13/48]

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b) const

Definition at line 7029 of file CSparse.cc.

References solve().

◆ solve() [14/48]

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

Definition at line 7037 of file CSparse.cc.

References solve().

◆ solve() [15/48]

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

Definition at line 7044 of file CSparse.cc.

References solve().

◆ solve() [16/48]

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

Definition at line 7051 of file CSparse.cc.

References solve().

◆ solve() [17/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7116 of file CSparse.cc.

References solve().

◆ solve() [18/48]

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

Definition at line 7124 of file CSparse.cc.

References solve().

◆ solve() [19/48]

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

Definition at line 7132 of file CSparse.cc.

References solve().

◆ solve() [20/48]

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

Definition at line 7139 of file CSparse.cc.

References solve().

◆ solve() [21/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseMatrix b) const

Definition at line 7060 of file CSparse.cc.

References solve().

◆ solve() [22/48]

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

Definition at line 7068 of file CSparse.cc.

References solve().

◆ solve() [23/48]

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

Definition at line 7076 of file CSparse.cc.

References solve().

◆ solve() [24/48]

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

Definition at line 7083 of file CSparse.cc.

References solve().

◆ solve() [25/48]

ComplexColumnVector SparseComplexMatrix::solve ( MatrixType mattype,
const ColumnVector b 
) const

Definition at line 6963 of file CSparse.cc.

References solve().

◆ solve() [26/48]

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

Definition at line 6970 of file CSparse.cc.

References solve().

◆ solve() [27/48]

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

Definition at line 6978 of file CSparse.cc.

References solve().

◆ solve() [28/48]

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

Definition at line 6985 of file CSparse.cc.

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

◆ solve() [29/48]

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

Definition at line 6995 of file CSparse.cc.

References solve().

◆ solve() [30/48]

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

Definition at line 7004 of file CSparse.cc.

References solve().

◆ solve() [31/48]

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

Definition at line 7012 of file CSparse.cc.

References solve().

◆ solve() [32/48]

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

Definition at line 7019 of file CSparse.cc.

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

◆ solve() [33/48]

ComplexMatrix SparseComplexMatrix::solve ( MatrixType mattype,
const ComplexMatrix b 
) const

Definition at line 6832 of file CSparse.cc.

References solve().

◆ solve() [34/48]

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

Definition at line 6840 of file CSparse.cc.

References solve().

◆ solve() [35/48]

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

Definition at line 6848 of file CSparse.cc.

References solve().

◆ solve() [36/48]

◆ solve() [37/48]

ComplexMatrix SparseComplexMatrix::solve ( MatrixType mattype,
const Matrix b 
) const

Definition at line 6702 of file CSparse.cc.

References solve().

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

◆ solve() [38/48]

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

Definition at line 6710 of file CSparse.cc.

References solve().

◆ solve() [39/48]

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

Definition at line 6718 of file CSparse.cc.

References solve().

◆ solve() [40/48]

◆ solve() [41/48]

SparseComplexMatrix SparseComplexMatrix::solve ( MatrixType mattype,
const SparseComplexMatrix b 
) const

Definition at line 6897 of file CSparse.cc.

References solve().

◆ solve() [42/48]

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

Definition at line 6906 of file CSparse.cc.

References solve().

◆ solve() [43/48]

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

Definition at line 6914 of file CSparse.cc.

References solve().

◆ solve() [44/48]

◆ solve() [45/48]

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

Definition at line 6767 of file CSparse.cc.

References solve().

◆ solve() [46/48]

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

Definition at line 6775 of file CSparse.cc.

References solve().

◆ solve() [47/48]

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

Definition at line 6783 of file CSparse.cc.

References solve().

◆ solve() [48/48]

◆ sort() [1/2]

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

Definition at line 643 of file Sparse.cc.

◆ sort() [2/2]

OCTAVE_API Sparse< Complex , Alloc > Sparse< Complex , Alloc >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited

Definition at line 641 of file Sparse.cc.

◆ squeeze()

SparseComplexMatrix SparseComplexMatrix::squeeze ( void  ) const

Definition at line 7247 of file CSparse.cc.

References MSparse< T >::squeeze().

◆ sum()

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

Definition at line 7397 of file CSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by Fsum().

◆ sumsq()

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

Definition at line 7403 of file CSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

◆ test()

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

Definition at line 656 of file Sparse.h.

◆ test_all() [1/3]

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

Definition at line 677 of file Sparse.h.

◆ test_all() [2/3]

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

Definition at line 680 of file Sparse.h.

◆ test_all() [3/3]

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

Definition at line 667 of file Sparse.h.

◆ test_any() [1/3]

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

Definition at line 671 of file Sparse.h.

◆ test_any() [2/3]

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

Definition at line 674 of file Sparse.h.

◆ test_any() [3/3]

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

Definition at line 663 of file Sparse.h.

◆ tinverse()

◆ too_large_for_float()

bool SparseComplexMatrix::too_large_for_float ( void  ) const

◆ transpose()

SparseComplexMatrix SparseComplexMatrix::transpose ( void  ) const
inline

Definition at line 137 of file CSparse.h.

References MSparse< T >::transpose().

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

◆ trisolve() [1/4]

◆ trisolve() [2/4]

◆ trisolve() [3/4]

◆ trisolve() [4/4]

◆ utsolve() [1/4]

◆ utsolve() [2/4]

◆ utsolve() [3/4]

◆ utsolve() [4/4]

◆ xcidx() [1/2]

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

Definition at line 603 of file Sparse.h.

◆ xcidx() [2/2]

octave_idx_type * Sparse< Complex , Alloc >::xcidx ( void  )
inlineinherited

Definition at line 602 of file Sparse.h.

◆ xdata() [1/2]

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

Definition at line 577 of file Sparse.h.

◆ xdata() [2/2]

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

Definition at line 576 of file Sparse.h.

◆ xelem() [1/6]

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

Definition at line 415 of file Sparse.h.

◆ xelem() [2/6]

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

Definition at line 418 of file Sparse.h.

◆ xelem() [3/6]

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

Definition at line 409 of file Sparse.h.

◆ xelem() [4/6]

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

Definition at line 410 of file Sparse.h.

◆ xelem() [5/6]

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

Definition at line 395 of file Sparse.h.

◆ xelem() [6/6]

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

Definition at line 402 of file Sparse.h.

◆ xridx() [1/2]

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

Definition at line 590 of file Sparse.h.

◆ xridx() [2/2]

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

Definition at line 589 of file Sparse.h.

Friends And Related Function Documentation

◆ conj

Definition at line 640 of file CSparse.cc.

Referenced by hermitian(), and ishermitian().

◆ operator<<

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

Definition at line 7445 of file CSparse.cc.

◆ operator>>

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

Definition at line 7467 of file CSparse.cc.

Member Data Documentation

◆ m_dimensions

dim_vector Sparse< Complex , Alloc >::m_dimensions
protectedinherited

Definition at line 251 of file Sparse.h.

◆ m_rep

Sparse<Complex ,Alloc>::SparseRep* Sparse< Complex , Alloc >::m_rep
protectedinherited

Definition at line 249 of file Sparse.h.


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