GNU Octave  4.4.1
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 (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
 
bool isempty (void) const
 
bool ishermitian (void) const
 
bool issquare (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 &mattype, const Matrix &b) const
 
ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info) const
 
ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond) const
 
ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b) const
 
ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info) const
 
ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond) const
 
SparseComplexMatrix solve (MatrixType &mattype, const SparseComplexMatrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool singular_fallback=true) const
 
ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b) const
 
ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info) const
 
ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcond) const
 
ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler) const
 
ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b) const
 
ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info) const
 
ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info, double &rcond) const
 
ComplexColumnVector solve (MatrixType &mattype, 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 &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix bsolve (MatrixType &mattype, const ComplexMatrix &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 bsolve (MatrixType &mattype, const SparseComplexMatrix &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 Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix dsolve (MatrixType &mattype, const ComplexMatrix &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
 
SparseComplexMatrix dsolve (MatrixType &mattype, 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 &mattype, const Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix fsolve (MatrixType &mattype, const ComplexMatrix &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
 
SparseComplexMatrix fsolve (MatrixType &mattype, const SparseComplexMatrix &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
 
ComplexMatrix ltsolve (MatrixType &mattype, const ComplexMatrix &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 ltsolve (MatrixType &mattype, const SparseComplexMatrix &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 Matrix &b, octave_idx_type &info, double &rcond, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
ComplexMatrix trisolve (MatrixType &mattype, const ComplexMatrix &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
 
SparseComplexMatrix trisolve (MatrixType &mattype, const SparseComplexMatrix &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
 
ComplexMatrix utsolve (MatrixType &mattype, const ComplexMatrix &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
 
SparseComplexMatrix utsolve (MatrixType &mattype, 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 47 of file CSparse.h.

Member Typedef Documentation

◆ dense_matrix_type

◆ element_type

typedef Complex Sparse< Complex >::element_type
inherited

Definition at line 51 of file Sparse.h.

◆ solve_singularity_handler

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

Definition at line 56 of file CSparse.h.

Constructor & Destructor Documentation

◆ SparseComplexMatrix() [1/16]

SparseComplexMatrix::SparseComplexMatrix ( void  )
inline

Definition at line 58 of file CSparse.h.

Referenced by bsolve(), dsolve(), fsolve(), 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 60 of file CSparse.h.

◆ SparseComplexMatrix() [3/16]

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

Definition at line 63 of file CSparse.h.

◆ SparseComplexMatrix() [4/16]

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

Definition at line 66 of file CSparse.h.

◆ SparseComplexMatrix() [5/16]

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

Definition at line 70 of file CSparse.h.

◆ SparseComplexMatrix() [6/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseComplexMatrix a)
inline

Definition at line 73 of file CSparse.h.

◆ SparseComplexMatrix() [7/16]

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

Definition at line 76 of file CSparse.h.

◆ SparseComplexMatrix() [8/16]

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

Definition at line 79 of file CSparse.h.

◆ SparseComplexMatrix() [9/16]

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

Definition at line 81 of file CSparse.h.

◆ SparseComplexMatrix() [10/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexMatrix a)
inlineexplicit

Definition at line 83 of file CSparse.h.

◆ SparseComplexMatrix() [11/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexNDArray a)
inlineexplicit

Definition at line 86 of file CSparse.h.

◆ SparseComplexMatrix() [12/16]

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

◆ SparseComplexMatrix() [13/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseMatrix a)
explicit

Definition at line 72 of file CSparse.cc.

◆ SparseComplexMatrix() [14/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseBoolMatrix a)
explicit

◆ 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 101 of file CSparse.h.

Member Function Documentation

◆ abs()

◆ all()

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

Definition at line 7394 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 7400 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()

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

Definition at line 2675 of file Sparse.cc.

◆ assign() [1/2]

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

Definition at line 1824 of file Sparse.cc.

◆ assign() [2/2]

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

Definition at line 1976 of file Sparse.cc.

◆ bsolve() [1/4]

◆ bsolve() [2/4]

◆ bsolve() [3/4]

◆ bsolve() [4/4]

◆ byte_size()

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

Definition at line 271 of file Sparse.h.

◆ capacity()

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

Amount of storage for nonzero elements.

Synonymous with nzmax().

Definition at line 237 of file Sparse.h.

◆ cat()

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

Definition at line 2577 of file Sparse.cc.

◆ change_capacity()

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

Definition at line 462 of file Sparse.h.

◆ checkelem() [1/6]

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

Definition at line 330 of file Sparse.h.

◆ checkelem() [2/6]

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

Definition at line 342 of file Sparse.h.

◆ checkelem() [3/6]

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

Definition at line 353 of file Sparse.h.

◆ checkelem() [4/6]

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

Definition at line 393 of file Sparse.h.

◆ checkelem() [5/6]

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

Definition at line 401 of file Sparse.h.

◆ checkelem() [6/6]

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

Definition at line 409 of file Sparse.h.

◆ cidx() [1/4]

◆ cidx() [2/4]

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

Definition at line 509 of file Sparse.h.

◆ cidx() [3/4]

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

Definition at line 517 of file Sparse.h.

◆ cidx() [4/4]

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

Definition at line 519 of file Sparse.h.

◆ cols()

◆ column()

◆ columns()

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

Definition at line 260 of file Sparse.h.

Referenced by row().

◆ compute_index()

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

Definition at line 713 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 589 of file CSparse.cc.

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

◆ cumprod()

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

Definition at line 7406 of file CSparse.cc.

References SPARSE_CUMPROD.

◆ cumsum()

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

Definition at line 7412 of file CSparse.cc.

References SPARSE_CUMSUM.

◆ data() [1/4]

◆ data() [2/4]

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

Definition at line 487 of file Sparse.h.

◆ data() [3/4]

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

Definition at line 491 of file Sparse.h.

◆ data() [4/4]

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

Definition at line 493 of file Sparse.h.

◆ delete_elements() [1/3]

void Sparse< Complex >::delete_elements ( const idx_vector i)
inherited

Definition at line 1148 of file Sparse.cc.

◆ delete_elements() [2/3]

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

Definition at line 1368 of file Sparse.cc.

◆ delete_elements() [3/3]

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

Definition at line 1249 of file Sparse.cc.

◆ determinant() [1/3]

ComplexDET SparseComplexMatrix::determinant ( void  ) const

Definition at line 1052 of file CSparse.cc.

Referenced by determinant(), and Fdet().

◆ determinant() [2/3]

ComplexDET SparseComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1060 of file CSparse.cc.

References determinant().

◆ determinant() [3/3]

◆ diag()

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

Definition at line 7473 of file CSparse.cc.

References MSparse< T >::diag(), and k.

◆ dim1()

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

Definition at line 255 of file Sparse.h.

◆ dim2()

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

Definition at line 256 of file Sparse.h.

◆ dims()

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

Definition at line 278 of file Sparse.h.

Referenced by max(), and min().

◆ 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 >::elem ( octave_idx_type  n)
inlineinherited

Definition at line 363 of file Sparse.h.

Referenced by max(), and min().

◆ elem() [2/6]

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

Definition at line 369 of file Sparse.h.

◆ elem() [3/6]

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

Definition at line 375 of file Sparse.h.

◆ elem() [4/6]

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

Definition at line 419 of file Sparse.h.

◆ elem() [5/6]

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

Definition at line 421 of file Sparse.h.

◆ elem() [6/6]

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

Definition at line 423 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 >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 263 of file Sparse.h.

◆ get_row_index()

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

Definition at line 262 of file Sparse.h.

◆ hermitian()

◆ index() [1/2]

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

Definition at line 1380 of file Sparse.cc.

◆ index() [2/2]

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

Definition at line 1580 of file Sparse.cc.

◆ indices_ok()

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

Definition at line 661 of file Sparse.h.

◆ insert() [1/6]

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 a, c, and Sparse< T >::insert().

◆ insert() [2/6]

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 a, and Sparse< T >::insert().

◆ insert() [3/6]

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

Definition at line 555 of file CSparse.cc.

References a, c, and MSparse< T >::insert().

Referenced by concat(), and insert().

◆ insert() [4/6]

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

Definition at line 547 of file CSparse.cc.

References a, c, insert(), and tmp.

◆ insert() [5/6]

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

Definition at line 571 of file CSparse.cc.

References a, and MSparse< T >::insert().

◆ insert() [6/6]

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

Definition at line 563 of file CSparse.cc.

References a, insert(), and tmp.

◆ inverse() [1/4]

SparseComplexMatrix SparseComplexMatrix::inverse ( void  ) const

Definition at line 659 of file CSparse.cc.

Referenced by Finv(), and inverse().

◆ inverse() [2/4]

SparseComplexMatrix SparseComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 668 of file CSparse.cc.

References inverse().

◆ inverse() [3/4]

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

Definition at line 676 of file CSparse.cc.

References inverse().

◆ inverse() [4/4]

◆ ipermute()

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

Definition at line 7298 of file CSparse.cc.

References MSparse< T >::ipermute().

◆ is_empty()

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

Definition at line 481 of file Sparse.h.

◆ is_hermitian()

bool SparseComplexMatrix::is_hermitian ( void  ) const
inline

Definition at line 117 of file CSparse.h.

◆ is_square()

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

Definition at line 475 of file Sparse.h.

◆ isempty()

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

Definition at line 478 of file Sparse.h.

◆ ishermitian()

bool SparseComplexMatrix::ishermitian ( void  ) const

◆ issquare()

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

Definition at line 472 of file Sparse.h.

◆ length()

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

Definition at line 253 of file Sparse.h.

◆ ltsolve() [1/4]

◆ ltsolve() [2/4]

◆ ltsolve() [3/4]

◆ ltsolve() [4/4]

◆ make_unique()

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

Definition at line 137 of file Sparse.h.

◆ map() [1/3]

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

Definition at line 113 of file MSparse.h.

References fcn.

◆ map() [2/3]

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

Definition at line 118 of file MSparse.h.

References fcn.

◆ map() [3/3]

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

Definition at line 597 of file Sparse.h.

◆ matrix_value()

◆ max() [1/2]

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

Definition at line 185 of file CSparse.cc.

◆ max() [2/2]

◆ maybe_compress()

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

Definition at line 438 of file Sparse.h.

◆ mex_get_data()

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

Definition at line 542 of file Sparse.h.

◆ mex_get_ir()

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

Definition at line 544 of file Sparse.h.

◆ mex_get_jc()

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

Definition at line 549 of file Sparse.h.

◆ min() [1/2]

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

Definition at line 342 of file CSparse.cc.

◆ min() [2/2]

◆ ndims()

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

Definition at line 521 of file Sparse.h.

◆ nelem()

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

Definition at line 250 of file Sparse.h.

◆ nnz()

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

◆ numel()

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

Definition at line 244 of file Sparse.h.

◆ nzmax()

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

◆ operator!()

◆ operator!=()

Definition at line 135 of file CSparse.cc.

References a.

◆ operator()() [1/6]

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

Definition at line 378 of file Sparse.h.

◆ operator()() [2/6]

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

Definition at line 383 of file Sparse.h.

◆ operator()() [3/6]

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

Definition at line 388 of file Sparse.h.

◆ operator()() [4/6]

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

Definition at line 426 of file Sparse.h.

◆ operator()() [5/6]

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

Definition at line 428 of file Sparse.h.

◆ operator()() [6/6]

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

Definition at line 433 of file Sparse.h.

◆ operator=()

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

Definition at line 105 of file CSparse.h.

References a, and MSparse< T >::operator=().

◆ operator==()

◆ permute()

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

Definition at line 7292 of file CSparse.cc.

References MSparse< T >::permute().

◆ print_info()

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

Definition at line 3000 of file Sparse.cc.

◆ prod()

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

Definition at line 7418 of file CSparse.cc.

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

Referenced by prod().

◆ range_error() [1/6]

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

Definition at line 736 of file Sparse.cc.

◆ range_error() [2/6]

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

Definition at line 743 of file Sparse.cc.

◆ range_error() [3/6]

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

Definition at line 750 of file Sparse.cc.

◆ range_error() [4/6]

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

Definition at line 758 of file Sparse.cc.

◆ range_error() [5/6]

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

Definition at line 765 of file Sparse.cc.

◆ range_error() [6/6]

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

Definition at line 789 of file Sparse.cc.

◆ reshape()

SparseComplexMatrix SparseComplexMatrix::reshape ( const dim_vector new_dims) const

Definition at line 7286 of file CSparse.cc.

References MSparse< T >::reshape().

◆ resize() [1/2]

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

Definition at line 950 of file Sparse.cc.

◆ resize() [2/2]

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

Definition at line 938 of file Sparse.cc.

◆ resize1()

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

Definition at line 919 of file Sparse.cc.

◆ ridx() [1/4]

◆ ridx() [2/4]

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

Definition at line 496 of file Sparse.h.

◆ ridx() [3/4]

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

Definition at line 504 of file Sparse.h.

◆ ridx() [4/4]

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

Definition at line 506 of file Sparse.h.

◆ row()

◆ rows()

◆ solve() [1/48]

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

Definition at line 6735 of file CSparse.cc.

References b.

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

◆ solve() [2/48]

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

Definition at line 6743 of file CSparse.cc.

References b, and solve().

◆ solve() [3/48]

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

Definition at line 6751 of file CSparse.cc.

References b, and solve().

◆ solve() [4/48]

◆ solve() [5/48]

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

Definition at line 6865 of file CSparse.cc.

References b, and solve().

◆ solve() [6/48]

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

Definition at line 6873 of file CSparse.cc.

References b, and solve().

◆ solve() [7/48]

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

Definition at line 6881 of file CSparse.cc.

References b, and solve().

◆ solve() [8/48]

◆ solve() [9/48]

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

Definition at line 6800 of file CSparse.cc.

References b, and solve().

◆ solve() [10/48]

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

Definition at line 6808 of file CSparse.cc.

References b, and solve().

◆ solve() [11/48]

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

Definition at line 6816 of file CSparse.cc.

References b, and solve().

◆ solve() [12/48]

◆ solve() [13/48]

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

Definition at line 6930 of file CSparse.cc.

References b, and solve().

◆ solve() [14/48]

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

Definition at line 6939 of file CSparse.cc.

References b, and solve().

◆ solve() [15/48]

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

Definition at line 6947 of file CSparse.cc.

References b, and solve().

◆ solve() [16/48]

◆ solve() [17/48]

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

Definition at line 6996 of file CSparse.cc.

References b, and solve().

◆ solve() [18/48]

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

Definition at line 7003 of file CSparse.cc.

References b, and solve().

◆ solve() [19/48]

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

Definition at line 7011 of file CSparse.cc.

References b, and solve().

◆ solve() [20/48]

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

Definition at line 7018 of file CSparse.cc.

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

◆ solve() [21/48]

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

Definition at line 7028 of file CSparse.cc.

References b, and solve().

◆ solve() [22/48]

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

Definition at line 7037 of file CSparse.cc.

References b, and solve().

◆ solve() [23/48]

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

Definition at line 7045 of file CSparse.cc.

References b, and solve().

◆ solve() [24/48]

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

Definition at line 7052 of file CSparse.cc.

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

◆ solve() [25/48]

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b) const

Definition at line 7062 of file CSparse.cc.

References b, and solve().

◆ solve() [26/48]

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

Definition at line 7070 of file CSparse.cc.

References b, and solve().

◆ solve() [27/48]

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

Definition at line 7077 of file CSparse.cc.

References b, and solve().

◆ solve() [28/48]

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

Definition at line 7084 of file CSparse.cc.

References b, err, and solve().

◆ solve() [29/48]

ComplexMatrix SparseComplexMatrix::solve ( const ComplexMatrix b) const

◆ solve() [30/48]

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

Definition at line 7125 of file CSparse.cc.

References b, and solve().

◆ solve() [31/48]

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

Definition at line 7133 of file CSparse.cc.

References b, and solve().

◆ solve() [32/48]

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

Definition at line 7140 of file CSparse.cc.

References b, err, and solve().

◆ solve() [33/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseMatrix b) const

Definition at line 7093 of file CSparse.cc.

References b, and solve().

◆ solve() [34/48]

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

Definition at line 7101 of file CSparse.cc.

References b, and solve().

◆ solve() [35/48]

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

Definition at line 7109 of file CSparse.cc.

References b, and solve().

◆ solve() [36/48]

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

Definition at line 7116 of file CSparse.cc.

References b, err, and solve().

◆ solve() [37/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7149 of file CSparse.cc.

References b, and solve().

◆ solve() [38/48]

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

Definition at line 7157 of file CSparse.cc.

References b, and solve().

◆ solve() [39/48]

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

Definition at line 7165 of file CSparse.cc.

References b, and solve().

◆ solve() [40/48]

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

Definition at line 7172 of file CSparse.cc.

References b, err, and solve().

◆ solve() [41/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b) const

Definition at line 7181 of file CSparse.cc.

References b, and solve().

◆ solve() [42/48]

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

Definition at line 7188 of file CSparse.cc.

References b, and solve().

◆ solve() [43/48]

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

Definition at line 7195 of file CSparse.cc.

References b, and solve().

◆ solve() [44/48]

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

Definition at line 7202 of file CSparse.cc.

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

◆ solve() [45/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7212 of file CSparse.cc.

References b, and solve().

◆ solve() [46/48]

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

Definition at line 7220 of file CSparse.cc.

References b, and solve().

◆ solve() [47/48]

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

Definition at line 7228 of file CSparse.cc.

References b, and solve().

◆ solve() [48/48]

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

Definition at line 7235 of file CSparse.cc.

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

◆ sort() [1/2]

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

Definition at line 2231 of file Sparse.cc.

◆ sort() [2/2]

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

Definition at line 2297 of file Sparse.cc.

◆ squeeze()

SparseComplexMatrix SparseComplexMatrix::squeeze ( void  ) const

Definition at line 7280 of file CSparse.cc.

References MSparse< T >::squeeze().

◆ sum()

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

Definition at line 7430 of file CSparse.cc.

References SPARSE_REDUCTION_OP.

◆ sumsq()

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

Definition at line 7436 of file CSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

◆ test()

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

Definition at line 568 of file Sparse.h.

◆ test_all() [1/3]

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

Definition at line 579 of file Sparse.h.

◆ test_all() [2/3]

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

Definition at line 589 of file Sparse.h.

◆ test_all() [3/3]

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

Definition at line 592 of file Sparse.h.

◆ test_any() [1/3]

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

Definition at line 575 of file Sparse.h.

Referenced by too_large_for_float().

◆ test_any() [2/3]

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

Definition at line 583 of file Sparse.h.

◆ test_any() [3/3]

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

Definition at line 586 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 142 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 >::xcidx ( void  )
inlineinherited

Definition at line 514 of file Sparse.h.

◆ xcidx() [2/2]

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

Definition at line 515 of file Sparse.h.

◆ xdata() [1/2]

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

Definition at line 488 of file Sparse.h.

◆ xdata() [2/2]

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

Definition at line 489 of file Sparse.h.

◆ xelem() [1/6]

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

Definition at line 301 of file Sparse.h.

◆ xelem() [2/6]

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

Definition at line 308 of file Sparse.h.

◆ xelem() [3/6]

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

Definition at line 315 of file Sparse.h.

◆ xelem() [4/6]

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

Definition at line 316 of file Sparse.h.

◆ xelem() [5/6]

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

Definition at line 321 of file Sparse.h.

◆ xelem() [6/6]

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

Definition at line 324 of file Sparse.h.

◆ xridx() [1/2]

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

Definition at line 501 of file Sparse.h.

◆ xridx() [2/2]

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

Definition at line 502 of file Sparse.h.

Friends And Related Function Documentation

◆ conj

SparseComplexMatrix conj ( const SparseComplexMatrix a)
friend

Definition at line 639 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 7479 of file CSparse.cc.

◆ operator>>

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

Definition at line 7500 of file CSparse.cc.

Member Data Documentation

◆ dimensions

dim_vector Sparse< Complex >::dimensions
inherited

Definition at line 157 of file Sparse.h.

◆ rep

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

Definition at line 155 of file Sparse.h.


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