GNU Octave  6.2.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 T element_type
 
typedef void(* solve_singularity_handler) (double rcond)
 

Public Member Functions

 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 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)
 
 SparseComplexMatrix (const SparseBoolMatrix &a)
 
 SparseComplexMatrix (const SparseComplexMatrix &a)
 
 SparseComplexMatrix (const SparseComplexMatrix &a, const dim_vector &dv)
 
 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)
 
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< T > array_value (void) const
 
void assign (const idx_vector &i, const idx_vector &j, const Sparse< T > &rhs)
 
void assign (const idx_vector &i, const Sparse< T > &rhs)
 
size_t byte_size (void) const
 
void change_capacity (octave_idx_type nz)
 
T & checkelem (const Array< octave_idx_type > &ra_idx)
 
checkelem (const Array< octave_idx_type > &ra_idx) const
 
T & checkelem (octave_idx_type i, octave_idx_type j)
 
checkelem (octave_idx_type i, octave_idx_type j) const
 
T & checkelem (octave_idx_type n)
 
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
 
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
 
T & data (octave_idx_type i)
 
data (octave_idx_type i) const
 
T * data (void)
 
T * data (void) const
 
void delete_elements (const idx_vector &i)
 
void delete_elements (const idx_vector &i, const idx_vector &j)
 
void delete_elements (int dim, const idx_vector &i)
 
ComplexDET determinant (octave_idx_type &info) const
 
ComplexDET determinant (octave_idx_type &info, double &rcond, bool calc_cond=true) const
 
ComplexDET determinant (void) 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
 
T & elem (const Array< octave_idx_type > &ra_idx)
 
elem (const Array< octave_idx_type > &ra_idx) const
 
T & elem (octave_idx_type i, octave_idx_type j)
 
elem (octave_idx_type i, octave_idx_type j) const
 
T & elem (octave_idx_type n)
 
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)
 
SparseComplexMatrix hermitian (void) const
 
Sparse< T > index (const idx_vector &i, bool resize_ok=false) const
 
Sparse< T > index (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, const Array< octave_idx_type > &indx)
 
MSparse< Complex > & insert (const Sparse< Complex > &a, octave_idx_type r, octave_idx_type c)
 
Sparse< T > & insert (const Sparse< T > &a, const Array< octave_idx_type > &idx)
 
Sparse< T > & insert (const Sparse< T > &a, octave_idx_type r, octave_idx_type c)
 
SparseComplexMatrixinsert (const SparseComplexMatrix &a, const Array< octave_idx_type > &indx)
 
SparseComplexMatrixinsert (const SparseComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
SparseComplexMatrixinsert (const SparseMatrix &a, const Array< octave_idx_type > &indx)
 
SparseComplexMatrixinsert (const SparseMatrix &a, octave_idx_type r, octave_idx_type c)
 
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 inverse (void) const
 
SparseComplexMatrix ipermute (const Array< octave_idx_type > &vec) const
 
bool isempty (void) const
 
bool ishermitian (void) const
 
bool issquare (void) const
 
template<typename U , typename F >
Sparse< U > map (F fcn) const
 
MSparse< U > map (U(&fcn)(Complex)) const
 
MSparse< U > map (U(&fcn)(const Complex &)) const
 
template<typename U >
Sparse< U > map (U(&fcn)(const T &)) const
 
template<typename U >
Sparse< U > map (U(&fcn)(T)) const
 
ComplexMatrix matrix_value (void) const
 
SparseComplexMatrix max (Array< octave_idx_type > &index, int dim=-1) const
 
SparseComplexMatrix max (int dim=-1) const
 
Sparse< T > maybe_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 (Array< octave_idx_type > &index, int dim=-1) const
 
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...
 
SparseBoolMatrix operator! (void) const
 
bool operator!= (const SparseComplexMatrix &a) const
 
T & operator() (const Array< octave_idx_type > &ra_idx)
 
operator() (const Array< octave_idx_type > &ra_idx) const
 
T & operator() (octave_idx_type i, octave_idx_type j)
 
operator() (octave_idx_type i, octave_idx_type j) const
 
T & operator() (octave_idx_type n)
 
operator() (octave_idx_type n) 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 T & range_error (const char *fcn, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_NORETURN T range_error (const char *fcn, const Array< octave_idx_type > &ra_idx) const
 
OCTAVE_NORETURN T & range_error (const char *fcn, octave_idx_type i, octave_idx_type j)
 
OCTAVE_NORETURN T range_error (const char *fcn, octave_idx_type i, octave_idx_type j) const
 
OCTAVE_NORETURN T & range_error (const char *fcn, octave_idx_type n)
 
OCTAVE_NORETURN T range_error (const char *fcn, octave_idx_type n) const
 
SparseComplexMatrix reshape (const dim_vector &new_dims) const
 
void resize (const dim_vector &dv)
 
void resize (octave_idx_type r, octave_idx_type c)
 
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
 
ComplexRowVector row (octave_idx_type i) const
 
octave_idx_type rows (void) 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
 
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
 
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
 
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
 
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
 
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 (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
 
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
 
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
 
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
 
Sparse< T > sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< T > sort (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
 
template<typename F , bool zero>
bool test (F fcn) const
 
bool test_all (bool(&fcn)(const T &)) const
 
bool test_all (bool(&fcn)(T)) const
 
template<typename F >
bool test_all (F fcn) const
 
bool test_any (bool(&fcn)(const T &)) const
 
bool test_any (bool(&fcn)(T)) const
 
template<typename F >
bool test_any (F fcn) const
 
bool too_large_for_float (void) const
 
SparseComplexMatrix transpose (void) const
 
octave_idx_typexcidx (octave_idx_type i)
 
octave_idx_typexcidx (void)
 
T & xdata (octave_idx_type i)
 
T * xdata (void)
 
T & xelem (const Array< octave_idx_type > &ra_idx)
 
xelem (const Array< octave_idx_type > &ra_idx) const
 
T & xelem (octave_idx_type i, octave_idx_type j)
 
xelem (octave_idx_type i, octave_idx_type j) const
 
T & xelem (octave_idx_type n)
 
xelem (octave_idx_type n) const
 
octave_idx_typexridx (octave_idx_type i)
 
octave_idx_typexridx (void)
 

Static Public Member Functions

static Sparse< T > cat (int dim, octave_idx_type n, const Sparse< T > *sparse_list)
 

Public Attributes

dim_vector dimensions
 
Sparse< T >::SparseReprep
 

Protected Member Functions

void make_unique (void)
 

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 Sparse< T >::SparseRepnil_rep (void)
 

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

Member Typedef Documentation

◆ dense_matrix_type

◆ element_type

template<typename T >
typedef T Sparse< T >::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 58 of file CSparse.h.

Constructor & Destructor Documentation

◆ SparseComplexMatrix() [1/16]

SparseComplexMatrix::SparseComplexMatrix ( void  )
inline

Definition at line 60 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 62 of file CSparse.h.

◆ SparseComplexMatrix() [3/16]

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

Definition at line 65 of file CSparse.h.

◆ SparseComplexMatrix() [4/16]

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

Definition at line 68 of file CSparse.h.

◆ SparseComplexMatrix() [5/16]

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

Definition at line 72 of file CSparse.h.

◆ SparseComplexMatrix() [6/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseComplexMatrix a)
inline

Definition at line 75 of file CSparse.h.

◆ SparseComplexMatrix() [7/16]

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

Definition at line 78 of file CSparse.h.

◆ SparseComplexMatrix() [8/16]

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

Definition at line 81 of file CSparse.h.

◆ SparseComplexMatrix() [9/16]

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

Definition at line 83 of file CSparse.h.

◆ SparseComplexMatrix() [10/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexMatrix a)
inlineexplicit

Definition at line 85 of file CSparse.h.

◆ SparseComplexMatrix() [11/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexNDArray a)
inlineexplicit

Definition at line 88 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 91 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::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 103 of file CSparse.h.

Member Function Documentation

◆ abs()

◆ all()

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

Definition at line 7393 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 7399 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()

template<typename T >
Array< T > Sparse< T >::array_value ( void  ) const
inherited

Definition at line 2688 of file Sparse.cc.

References retval, and Array< T >::xelem().

Referenced by Sparse< T >::assign(), binmap(), matrix_value(), and SparseMatrix::matrix_value().

◆ assign() [1/2]

◆ assign() [2/2]

◆ bsolve() [1/4]

◆ bsolve() [2/4]

◆ bsolve() [3/4]

◆ bsolve() [4/4]

◆ byte_size()

◆ cat()

◆ change_capacity()

template<typename T >
void Sparse< T >::change_capacity ( octave_idx_type  nz)
inlineinherited

Definition at line 454 of file Sparse.h.

References Sparse< T >::SparseRep::change_length().

Referenced by Sparse< T >::Sparse().

◆ checkelem() [1/6]

template<typename T >
T& Sparse< T >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 345 of file Sparse.h.

References compute_index(), elem, and ra_idx.

◆ checkelem() [2/6]

template<typename T >
T Sparse< T >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 401 of file Sparse.h.

References compute_index(), Sparse< T >::elem(), and ra_idx.

◆ checkelem() [3/6]

template<typename T >
T& Sparse< T >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 334 of file Sparse.h.

◆ checkelem() [4/6]

template<typename T >
T Sparse< T >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 393 of file Sparse.h.

◆ checkelem() [5/6]

template<typename T >
T& Sparse< T >::checkelem ( octave_idx_type  n)
inlineinherited

Definition at line 322 of file Sparse.h.

References n, and numel().

◆ checkelem() [6/6]

template<typename T >
T Sparse< T >::checkelem ( octave_idx_type  n) const
inlineinherited

Definition at line 385 of file Sparse.h.

References n, and numel().

◆ cidx() [1/4]

template<typename T >
octave_idx_type& Sparse< T >::cidx ( octave_idx_type  i)
inlineinherited

Definition at line 493 of file Sparse.h.

References Sparse< T >::SparseRep::cidx().

◆ cidx() [2/4]

template<typename T >
octave_idx_type Sparse< T >::cidx ( octave_idx_type  i) const
inlineinherited

Definition at line 501 of file Sparse.h.

References Sparse< T >::SparseRep::ccidx().

◆ cidx() [3/4]

template<typename T >
octave_idx_type* Sparse< T >::cidx ( void  )
inlineinherited

Definition at line 492 of file Sparse.h.

References Sparse< T >::SparseRep::c.

Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix(), SparseMatrix::SparseMatrix(), abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), prod(), SparseMatrix::prod(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::utsolve(), x_el_div(), and xpow().

◆ cidx() [4/4]

template<typename T >
octave_idx_type* Sparse< T >::cidx ( void  ) const
inlineinherited

Definition at line 503 of file Sparse.h.

References Sparse< T >::SparseRep::c.

◆ cols()

template<typename T >
octave_idx_type Sparse< T >::cols ( void  ) const
inlineinherited

Definition at line 251 of file Sparse.h.

Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), SparseComplexMatrix(), SparseMatrix::SparseMatrix(), abs(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), SparseBoolMatrix::concat(), concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), determinant(), SparseMatrix::determinant(), dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), F__ilu0__(), F__iluc__(), F__ilutp__(), factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), octave_sparse_matrix::map(), max(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), plus_or_minus(), product(), quotient(), read_sparse_matrix(), save_mat5_binary_element(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), utsolve(), SparseMatrix::utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().

◆ column()

ComplexColumnVector SparseComplexMatrix::column ( octave_idx_type  i) const

◆ columns()

template<typename T >
octave_idx_type Sparse< T >::columns ( void  ) const
inlineinherited

Definition at line 252 of file Sparse.h.

Referenced by Sparse< T >::assign(), Sparse< T >::cat(), row(), and SparseMatrix::row().

◆ compute_index()

template<typename T >
octave_idx_type Sparse< T >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited

Definition at line 720 of file Sparse.cc.

References n, octave_base_value::numel(), ra_idx, and retval.

◆ 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 >::cols(), insert(), ra_idx, and Sparse< T >::rows().

◆ cumprod()

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

Definition at line 7405 of file CSparse.cc.

References SPARSE_CUMPROD.

◆ cumsum()

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

Definition at line 7411 of file CSparse.cc.

References SPARSE_CUMSUM.

Referenced by Fcumsum().

◆ data() [1/4]

template<typename T >
T& Sparse< T >::data ( octave_idx_type  i)
inlineinherited

Definition at line 471 of file Sparse.h.

References Sparse< T >::SparseRep::data().

◆ data() [2/4]

template<typename T >
T Sparse< T >::data ( octave_idx_type  i) const
inlineinherited

Definition at line 475 of file Sparse.h.

References Sparse< T >::SparseRep::data().

◆ data() [3/4]

template<typename T >
T* Sparse< T >::data ( void  )
inlineinherited

Definition at line 470 of file Sparse.h.

References Sparse< T >::SparseRep::d.

Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix(), SparseMatrix::SparseMatrix(), abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), all_elements_are_real(), SparseMatrix::all_elements_are_zero(), all_integers(), SparseMatrix::all_integers(), any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), any_element_is_nan(), SparseMatrix::any_element_is_nan(), SparseMatrix::any_element_is_negative(), SparseMatrix::any_element_not_one_or_zero(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::utsolve(), x_el_div(), and xpow().

◆ data() [4/4]

template<typename T >
T* Sparse< T >::data ( void  ) const
inlineinherited

Definition at line 477 of file Sparse.h.

References Sparse< T >::SparseRep::d.

◆ delete_elements() [1/3]

◆ delete_elements() [2/3]

◆ delete_elements() [3/3]

template<typename T >
void Sparse< T >::delete_elements ( int  dim,
const idx_vector i 
)
inherited

Definition at line 1381 of file Sparse.cc.

References idx_vector::colon, and current_liboctave_error_handler.

◆ 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.

Referenced by determinant().

◆ diag()

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

Definition at line 7472 of file CSparse.cc.

References MSparse< T >::diag().

◆ dim1()

template<typename T >
octave_idx_type Sparse< T >::dim1 ( void  ) const
inlineinherited

Definition at line 247 of file Sparse.h.

◆ dim2()

template<typename T >
octave_idx_type Sparse< T >::dim2 ( void  ) const
inlineinherited

Definition at line 248 of file Sparse.h.

◆ dims()

◆ 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]

template<typename T >
T& Sparse< T >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 367 of file Sparse.h.

References compute_index(), Sparse< T >::elem(), and ra_idx.

◆ elem() [2/6]

template<typename T >
T Sparse< T >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 415 of file Sparse.h.

References compute_index(), Sparse< T >::elem(), and ra_idx.

◆ elem() [3/6]

template<typename T >
T& Sparse< T >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 361 of file Sparse.h.

◆ elem() [4/6]

template<typename T >
T Sparse< T >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 413 of file Sparse.h.

◆ elem() [5/6]

template<typename T >
T& Sparse< T >::elem ( octave_idx_type  n)
inlineinherited

◆ elem() [6/6]

template<typename T >
T Sparse< T >::elem ( octave_idx_type  n) const
inlineinherited

Definition at line 411 of file Sparse.h.

References n.

◆ factorize()

void * SparseComplexMatrix::factorize ( octave_idx_type err,
double &  rcond,
Matrix Control,
Matrix Info,
solve_singularity_handler  sing_handler,
bool  calc_cond 
) const
private

◆ fsolve() [1/4]

◆ fsolve() [2/4]

◆ fsolve() [3/4]

◆ fsolve() [4/4]

◆ get_col_index()

template<typename T >
octave_idx_type Sparse< T >::get_col_index ( octave_idx_type  k)
inlineinherited

Definition at line 255 of file Sparse.h.

◆ get_row_index()

template<typename T >
octave_idx_type Sparse< T >::get_row_index ( octave_idx_type  k)
inlineinherited

Definition at line 254 of file Sparse.h.

◆ hermitian()

◆ index() [1/2]

◆ index() [2/2]

◆ indices_ok()

template<typename T >
bool Sparse< T >::indices_ok ( void  ) const
inlineinherited

Definition at line 645 of file Sparse.h.

References Sparse< T >::SparseRep::indices_ok().

◆ insert() [1/8]

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

Definition at line 88 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 82 of file MSparse.h.

◆ insert() [3/8]

template<typename T >
Sparse< T > & Sparse< T >::insert ( const Sparse< T > &  a,
const Array< octave_idx_type > &  idx 
)
inherited

Definition at line 1094 of file Sparse.cc.

References octave_base_value::numel(), and ra_idx.

◆ insert() [4/8]

template<typename T >
Sparse< T > & Sparse< T >::insert ( const Sparse< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited

◆ 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(), and r.

Referenced by 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(), and r.

◆ 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.

Referenced by inverse(), and xpow().

◆ ipermute()

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

Definition at line 7297 of file CSparse.cc.

References MSparse< T >::ipermute().

◆ isempty()

template<typename T >
bool Sparse< T >::isempty ( void  ) const
inlineinherited

Definition at line 466 of file Sparse.h.

Referenced by Sparse< T >::cat(), and LuAminusSigmaB().

◆ ishermitian()

bool SparseComplexMatrix::ishermitian ( void  ) const

◆ issquare()

template<typename T >
bool Sparse< T >::issquare ( void  ) const
inlineinherited

Definition at line 464 of file Sparse.h.

◆ ltsolve() [1/4]

◆ ltsolve() [2/4]

◆ ltsolve() [3/4]

◆ ltsolve() [4/4]

◆ make_unique()

template<typename T >
void Sparse< T >::make_unique ( void  )
inlineprotectedinherited

Definition at line 140 of file Sparse.h.

References r.

◆ map() [1/5]

template<typename T >
template<typename U , typename F >
Sparse<U> Sparse< T >::map ( fcn) const
inlineinherited

◆ map() [2/5]

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

Definition at line 115 of file MSparse.h.

◆ map() [3/5]

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

Definition at line 120 of file MSparse.h.

◆ map() [4/5]

template<typename T >
template<typename U >
Sparse<U> Sparse< T >::map ( U(&)(const T &)  fcn) const
inlineinherited

Definition at line 642 of file Sparse.h.

◆ map() [5/5]

template<typename T >
template<typename U >
Sparse<U> Sparse< T >::map ( U(&)(T)  fcn) const
inlineinherited

Definition at line 637 of file Sparse.h.

◆ matrix_value()

◆ max() [1/2]

◆ max() [2/2]

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

Definition at line 186 of file CSparse.cc.

◆ maybe_compress()

◆ mex_get_data()

template<typename T >
void* Sparse< T >::mex_get_data ( void  ) const
inlineinherited

Definition at line 526 of file Sparse.h.

Referenced by octave_base_sparse< T >::mex_get_data().

◆ mex_get_ir()

template<typename T >
octave_idx_type* Sparse< T >::mex_get_ir ( void  ) const
inlineinherited

Definition at line 528 of file Sparse.h.

Referenced by octave_base_sparse< T >::mex_get_ir().

◆ mex_get_jc()

template<typename T >
octave_idx_type* Sparse< T >::mex_get_jc ( void  ) const
inlineinherited

Definition at line 533 of file Sparse.h.

Referenced by octave_base_sparse< T >::mex_get_jc().

◆ min() [1/2]

◆ min() [2/2]

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

Definition at line 343 of file CSparse.cc.

◆ ndims()

template<typename T >
octave_idx_type Sparse< T >::ndims ( void  ) const
inlineinherited

Definition at line 505 of file Sparse.h.

References dim_vector::ndims().

Referenced by octave_base_sparse< T >::octave_base_sparse().

◆ nil_rep()

template<typename T >
Sparse< T >::SparseRep * Sparse< T >::nil_rep ( void  )
staticprivateinherited

Definition at line 58 of file Sparse.cc.

◆ nnz()

template<typename T >
octave_idx_type Sparse< T >::nnz ( void  ) const
inlineinherited

Actual number of nonzero terms.

Definition at line 238 of file Sparse.h.

References Sparse< T >::SparseRep::nnz().

Referenced by MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix(), SparseMatrix::SparseMatrix(), abs(), SparseMatrix::abs(), SparseMatrix::all_elements_are_int_or_inf_or_nan(), all_elements_are_real(), SparseMatrix::all_elements_are_zero(), all_integers(), SparseMatrix::all_integers(), any_element_is_inf_or_nan(), SparseMatrix::any_element_is_inf_or_nan(), any_element_is_nan(), SparseMatrix::any_element_is_nan(), Sparse< T >::SparseRep::any_element_is_nan(), SparseMatrix::any_element_is_negative(), SparseMatrix::any_element_not_one_or_zero(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), Sparse< T >::delete_elements(), dmperm_internal(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), Fccolamd(), Fcolamd(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), octave_sparse_matrix::index_vector(), Sparse< T >::SparseRep::indices_ok(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ltsolve(), SparseMatrix::ltsolve(), max(), min(), octave_base_sparse< T >::nnz(), operator!(), SparseMatrix::operator!(), operator-(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), plus_or_minus(), product(), quotient(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::utsolve(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().

◆ numel()

template<typename T >
octave_idx_type Sparse< T >::numel ( void  ) const
inlineinherited

◆ nzmax()

template<typename T >
octave_idx_type Sparse< T >::nzmax ( void  ) const
inlineinherited

Amount of storage for nonzero elements.

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

Definition at line 235 of file Sparse.h.

References Sparse< T >::SparseRep::length().

Referenced by dmperm_internal(), octave_base_sparse< T >::nzmax(), read_sparse_matrix(), and save_mat5_binary_element().

◆ operator!()

◆ operator!=()

Definition at line 136 of file CSparse.cc.

◆ operator()() [1/6]

template<typename T >
T& Sparse< T >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 380 of file Sparse.h.

References elem, and ra_idx.

◆ operator()() [2/6]

template<typename T >
T Sparse< T >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 425 of file Sparse.h.

References elem, and ra_idx.

◆ operator()() [3/6]

template<typename T >
T& Sparse< T >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 375 of file Sparse.h.

References elem.

◆ operator()() [4/6]

template<typename T >
T Sparse< T >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 420 of file Sparse.h.

References elem.

◆ operator()() [5/6]

template<typename T >
T& Sparse< T >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 370 of file Sparse.h.

References elem, and n.

◆ operator()() [6/6]

template<typename T >
T Sparse< T >::operator() ( octave_idx_type  n) const
inlineinherited

Definition at line 418 of file Sparse.h.

References elem, and n.

◆ operator=()

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

Definition at line 107 of file CSparse.h.

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

◆ operator==()

bool SparseComplexMatrix::operator== ( const SparseComplexMatrix a) const

◆ permute()

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

Definition at line 7291 of file CSparse.cc.

References MSparse< T >::permute().

◆ print_info()

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

Definition at line 3014 of file Sparse.cc.

◆ prod()

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

Definition at line 7417 of file CSparse.cc.

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

Referenced by Fprod(), and prod().

◆ range_error() [1/6]

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

Definition at line 802 of file Sparse.cc.

References n, octave_base_value::numel(), and ra_idx.

◆ range_error() [2/6]

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

Definition at line 778 of file Sparse.cc.

References n, octave_base_value::numel(), and ra_idx.

◆ range_error() [3/6]

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

Definition at line 769 of file Sparse.cc.

◆ range_error() [4/6]

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

Definition at line 759 of file Sparse.cc.

◆ range_error() [5/6]

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

Definition at line 751 of file Sparse.cc.

References n.

◆ range_error() [6/6]

template<typename T >
T Sparse< T >::range_error ( const char *  fcn,
octave_idx_type  n 
) const
inherited

Definition at line 743 of file Sparse.cc.

References n.

◆ reshape()

SparseComplexMatrix SparseComplexMatrix::reshape ( const dim_vector new_dims) const

Definition at line 7285 of file CSparse.cc.

References MSparse< T >::reshape().

◆ resize() [1/2]

template<typename T >
void Sparse< T >::resize ( const dim_vector dv)
inherited

Definition at line 951 of file Sparse.cc.

References n, and dim_vector::ndims().

◆ resize() [2/2]

◆ resize1()

template<typename T >
void Sparse< T >::resize1 ( octave_idx_type  n)
inherited

Definition at line 932 of file Sparse.cc.

References octave::err_invalid_resize(), max(), and n.

Referenced by Sparse< T >::index().

◆ ridx() [1/4]

template<typename T >
octave_idx_type& Sparse< T >::ridx ( octave_idx_type  i)
inlineinherited

Definition at line 480 of file Sparse.h.

References Sparse< T >::SparseRep::ridx().

◆ ridx() [2/4]

template<typename T >
octave_idx_type Sparse< T >::ridx ( octave_idx_type  i) const
inlineinherited

Definition at line 488 of file Sparse.h.

References Sparse< T >::SparseRep::cridx().

◆ ridx() [3/4]

template<typename T >
octave_idx_type* Sparse< T >::ridx ( void  )
inlineinherited

Definition at line 479 of file Sparse.h.

References Sparse< T >::SparseRep::r.

Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::sparse_qr_rep(), SparseComplexMatrix(), SparseMatrix::SparseMatrix(), abs(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), octave_sparse_matrix::convert_to_str_internal(), Sparse< T >::delete_elements(), determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Fcomplex(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), Sparse< T >::map(), max(), SparseMatrix::max(), max(), min(), SparseMatrix::min(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), octave::math::sparse_lu< lu_type >::Pc(), plus_or_minus(), octave::math::sparse_lu< lu_type >::Pr(), product(), quotient(), read_mat5_binary_element(), read_sparse_matrix(), row(), SparseMatrix::row(), octave_sparse_bool_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), utsolve(), SparseMatrix::utsolve(), x_el_div(), and xpow().

◆ ridx() [4/4]

template<typename T >
octave_idx_type* Sparse< T >::ridx ( void  ) const
inlineinherited

Definition at line 490 of file Sparse.h.

References Sparse< T >::SparseRep::r.

◆ row()

ComplexRowVector SparseComplexMatrix::row ( octave_idx_type  i) const

◆ rows()

template<typename T >
octave_idx_type Sparse< T >::rows ( void  ) const
inlineinherited

Definition at line 250 of file Sparse.h.

Referenced by idx_vector::idx_vector_rep::idx_vector_rep(), MatrixType::MatrixType(), Sparse< T >::Sparse(), abs(), Sparse< T >::assign(), binmap(), bsolve(), SparseMatrix::bsolve(), Sparse< T >::cat(), octave_sparse_complex_matrix::char_array_value(), octave_sparse_bool_matrix::char_array_value(), octave_sparse_matrix::char_array_value(), column(), SparseMatrix::column(), SparseBoolMatrix::concat(), concat(), SparseMatrix::concat(), octave_sparse_matrix::convert_to_str_internal(), determinant(), SparseMatrix::determinant(), dinverse(), SparseMatrix::dinverse(), dmsolve_insert(), dmsolve_permute(), dsolve(), SparseMatrix::dsolve(), elem_xpow(), factorize(), SparseMatrix::factorize(), Famd(), Fccolamd(), Fcolamd(), Fcomplex(), Fcsymamd(), Fetree(), find_nonzero_elem_idx(), fsolve(), SparseMatrix::fsolve(), Fsymamd(), Fsymbfact(), hermitian(), Sparse< T >::insert(), inverse(), SparseMatrix::inverse(), ishermitian(), SparseMatrix::issymmetric(), ltsolve(), SparseMatrix::ltsolve(), octave_sparse_matrix::map(), max(), min(), operator!(), SparseMatrix::operator!(), SparseBoolMatrix::operator==(), operator==(), SparseMatrix::operator==(), plus_or_minus(), prod(), SparseMatrix::prod(), product(), quotient(), read_sparse_matrix(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), times_or_divide(), times_or_divides(), tinverse(), SparseMatrix::tinverse(), trisolve(), SparseMatrix::trisolve(), octave_sparse_bool_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_sparse_matrix::try_narrowing_conversion(), utsolve(), SparseMatrix::utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), x_el_div(), and xpow().

◆ solve() [1/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b) const

Definition at line 7180 of file CSparse.cc.

References solve().

◆ solve() [2/48]

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

Definition at line 7187 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 7194 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 7201 of file CSparse.cc.

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

◆ solve() [5/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7211 of file CSparse.cc.

References solve().

◆ solve() [6/48]

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

Definition at line 7219 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 7227 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 7234 of file CSparse.cc.

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

◆ solve() [9/48]

ComplexMatrix SparseComplexMatrix::solve ( const ComplexMatrix b) const

◆ solve() [10/48]

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

Definition at line 7124 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 7132 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 7139 of file CSparse.cc.

References solve().

◆ solve() [13/48]

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b) const

Definition at line 7061 of file CSparse.cc.

References solve().

◆ solve() [14/48]

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

Definition at line 7069 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 7076 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 7083 of file CSparse.cc.

References solve().

◆ solve() [17/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7148 of file CSparse.cc.

References solve().

◆ solve() [18/48]

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

Definition at line 7156 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 7164 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 7171 of file CSparse.cc.

References solve().

◆ solve() [21/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseMatrix b) const

Definition at line 7092 of file CSparse.cc.

References solve().

◆ solve() [22/48]

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

Definition at line 7100 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 7108 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 7115 of file CSparse.cc.

References solve().

◆ solve() [25/48]

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

Definition at line 6995 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 7002 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 7010 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 7017 of file CSparse.cc.

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

◆ solve() [29/48]

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

Definition at line 7027 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 7036 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 7044 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 7051 of file CSparse.cc.

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

◆ solve() [33/48]

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

Definition at line 6864 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 6872 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 6880 of file CSparse.cc.

References solve().

◆ solve() [36/48]

◆ solve() [37/48]

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

Definition at line 6734 of file CSparse.cc.

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 6742 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 6750 of file CSparse.cc.

References solve().

◆ solve() [40/48]

◆ solve() [41/48]

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

Definition at line 6929 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 6938 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 6946 of file CSparse.cc.

References solve().

◆ solve() [44/48]

◆ solve() [45/48]

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

Definition at line 6799 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 6807 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 6815 of file CSparse.cc.

References solve().

◆ solve() [48/48]

◆ sort() [1/2]

◆ sort() [2/2]

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

◆ squeeze()

SparseComplexMatrix SparseComplexMatrix::squeeze ( void  ) const

Definition at line 7279 of file CSparse.cc.

References MSparse< T >::squeeze().

◆ sum()

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

Definition at line 7429 of file CSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by Fsum().

◆ sumsq()

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

Definition at line 7435 of file CSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

◆ test()

template<typename T >
template<typename F , bool zero>
bool Sparse< T >::test ( fcn) const
inlineinherited

Definition at line 552 of file Sparse.h.

◆ test_all() [1/3]

template<typename T >
bool Sparse< T >::test_all ( bool(&)(const T &)  fcn) const
inlineinherited

Definition at line 576 of file Sparse.h.

◆ test_all() [2/3]

template<typename T >
bool Sparse< T >::test_all ( bool(&)(T)  fcn) const
inlineinherited

Definition at line 573 of file Sparse.h.

◆ test_all() [3/3]

template<typename T >
template<typename F >
bool Sparse< T >::test_all ( fcn) const
inlineinherited

Definition at line 563 of file Sparse.h.

◆ test_any() [1/3]

template<typename T >
bool Sparse< T >::test_any ( bool(&)(const T &)  fcn) const
inlineinherited

Definition at line 570 of file Sparse.h.

◆ test_any() [2/3]

template<typename T >
bool Sparse< T >::test_any ( bool(&)(T)  fcn) const
inlineinherited

Definition at line 567 of file Sparse.h.

◆ test_any() [3/3]

template<typename T >
template<typename F >
bool Sparse< T >::test_any ( fcn) const
inlineinherited

Definition at line 559 of file Sparse.h.

Referenced by too_large_for_float(), and SparseMatrix::too_large_for_float().

◆ tinverse()

◆ too_large_for_float()

bool SparseComplexMatrix::too_large_for_float ( void  ) const

◆ transpose()

SparseComplexMatrix SparseComplexMatrix::transpose ( void  ) const
inline

Definition at line 140 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]

template<typename T >
octave_idx_type& Sparse< T >::xcidx ( octave_idx_type  i)
inlineinherited

Definition at line 499 of file Sparse.h.

References Sparse< T >::SparseRep::cidx().

◆ xcidx() [2/2]

◆ xdata() [1/2]

template<typename T >
T& Sparse< T >::xdata ( octave_idx_type  i)
inlineinherited

Definition at line 473 of file Sparse.h.

References Sparse< T >::SparseRep::data().

◆ xdata() [2/2]

◆ xelem() [1/6]

template<typename T >
T& Sparse< T >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 313 of file Sparse.h.

References compute_index(), and ra_idx.

◆ xelem() [2/6]

template<typename T >
T Sparse< T >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 316 of file Sparse.h.

References compute_index(), and ra_idx.

◆ xelem() [3/6]

template<typename T >
T& Sparse< T >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Definition at line 307 of file Sparse.h.

References Sparse< T >::SparseRep::elem().

◆ xelem() [4/6]

template<typename T >
T Sparse< T >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Definition at line 308 of file Sparse.h.

References Sparse< T >::SparseRep::celem().

◆ xelem() [5/6]

◆ xelem() [6/6]

template<typename T >
T Sparse< T >::xelem ( octave_idx_type  n) const
inlineinherited

Definition at line 300 of file Sparse.h.

References n.

◆ xridx() [1/2]

template<typename T >
octave_idx_type& Sparse< T >::xridx ( octave_idx_type  i)
inlineinherited

Definition at line 486 of file Sparse.h.

References Sparse< T >::SparseRep::ridx().

◆ xridx() [2/2]

Friends And Related Function Documentation

◆ conj

SparseComplexMatrix conj ( const SparseComplexMatrix a)
friend

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 7477 of file CSparse.cc.

◆ operator>>

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

Definition at line 7499 of file CSparse.cc.

Member Data Documentation

◆ dimensions

template<typename T >
dim_vector Sparse< T >::dimensions
inherited

Definition at line 160 of file Sparse.h.

Referenced by Sparse< T >::Sparse(), and Sparse< T >::operator=().

◆ rep

template<typename T >
Sparse<T>::SparseRep* Sparse< T >::rep
inherited

Definition at line 158 of file Sparse.h.

Referenced by Sparse< T >::Sparse(), and Sparse< T >::operator=().


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