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

#include "CSparse.h"

Inheritance diagram for SparseComplexMatrix:
MSparse< Complex > Sparse< T, Alloc >

Public Types

typedef ComplexMatrix dense_matrix_type
 
typedef void(* solve_singularity_handler) (double rcond)
 
- Public Types inherited from Sparse< T, Alloc >
typedef T element_type
 

Public Member Functions

 SparseComplexMatrix ()
 
 SparseComplexMatrix (const Array< Complex > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
 
 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 ()=default
 
SparseMatrix abs () const
 
SparseBoolMatrix all (int dim=-1) const
 
bool all_elements_are_real () const
 
bool all_integers (double &max_val, double &min_val) const
 
SparseBoolMatrix any (int dim=-1) const
 
bool any_element_is_inf_or_nan () const
 
bool any_element_is_nan () const
 
ComplexColumnVector column (octave_idx_type i) 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
 
ComplexDET determinant () 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
 
SparseComplexMatrix hermitian () const
 
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 () 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 ishermitian () const
 
ComplexMatrix matrix_value () const
 
SparseComplexMatrix max (Array< octave_idx_type > &index, int dim=-1) const
 
SparseComplexMatrix max (int dim=-1) const
 
SparseComplexMatrix min (Array< octave_idx_type > &index, int dim=-1) const
 
SparseComplexMatrix min (int dim=-1) const
 
SparseBoolMatrix operator! () const
 
bool operator!= (const SparseComplexMatrix &a) const
 
SparseComplexMatrixoperator= (const SparseComplexMatrix &a)
 
bool operator== (const SparseComplexMatrix &a) const
 
SparseComplexMatrix permute (const Array< octave_idx_type > &vec, bool inv=false) const
 
SparseComplexMatrix prod (int dim=-1) const
 
SparseComplexMatrix reshape (const dim_vector &new_dims) const
 
ComplexRowVector row (octave_idx_type i) 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
 
SparseComplexMatrix squeeze () const
 
SparseComplexMatrix sum (int dim=-1) const
 
SparseComplexMatrix sumsq (int dim=-1) const
 
bool too_large_for_float () const
 
SparseComplexMatrix transpose () const
 
- Public Member Functions inherited from MSparse< Complex >
 MSparse ()
 
 MSparse (const Array< Complex > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
 
 MSparse (const dim_vector &dv, octave_idx_type nz=0)
 
 MSparse (const MSparse< Complex > &a)
 
 MSparse (const MSparse< Complex > &a, const dim_vector &dv)
 
 MSparse (const PermMatrix &a)
 
 MSparse (const Sparse< Complex > &a)
 
 MSparse (const Sparse< U > &a)
 
 MSparse (octave_idx_type n, octave_idx_type m)
 
 MSparse (octave_idx_type r, octave_idx_type c, Complex val)
 
 MSparse (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz)
 
 ~MSparse ()=default
 
MSparse< Complexdiag (octave_idx_type k=0) 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)
 
MSparse< Complexipermute (const Array< octave_idx_type > &vec) const
 
Sparse< U > map (U(&fcn)(Complex)) const
 
Sparse< U > map (U(&fcn)(const Complex &)) const
 
MSparse< Complex > & operator= (const MSparse< Complex > &a)
 
MSparse< Complexpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 
MSparse< Complexreshape (const dim_vector &new_dims) const
 
MSparse< Complexsqueeze () const
 
MSparse< Complextranspose () const
 
- Public Member Functions inherited from Sparse< T, Alloc >
 Sparse ()
 
 Sparse (const Array< T > &a)
 
 Sparse (const Array< T > &a, const octave::idx_vector &r, const octave::idx_vector &c, octave_idx_type nr=-1, octave_idx_type nc=-1, bool sum_terms=true, octave_idx_type nzm=-1)
 
 Sparse (const dim_vector &dv)
 
 Sparse (const dim_vector &dv, octave_idx_type nz)
 
 Sparse (const dim_vector &dv, octave_idx_type nz, T *ptr, octave_idx_type *ridx, octave_idx_type *cidx, const Alloc &xallocator=Alloc())
 
 Sparse (const PermMatrix &a)
 
 Sparse (const Sparse< T, Alloc > &a)
 
 Sparse (const Sparse< T, Alloc > &a, const dim_vector &dv)
 
template<typename U >
 Sparse (const Sparse< U > &a)
 
 Sparse (octave_idx_type n)
 
 Sparse (octave_idx_type nr, octave_idx_type nc)
 
 Sparse (octave_idx_type nr, octave_idx_type nc, octave_idx_type nz)
 
 Sparse (octave_idx_type nr, octave_idx_type nc, T val)
 
virtual ~Sparse ()
 
bool any_element_is_nan () const
 
Array< T > array_value () const
 
void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Sparse< T, Alloc > &rhs)
 
void assign (const octave::idx_vector &i, const octave::idx_vector &j, const T &rhs)
 
void assign (const octave::idx_vector &i, const Sparse< T, Alloc > &rhs)
 
void assign (const octave::idx_vector &i, const T &rhs)
 
std::size_t byte_size () 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_typecidx () const
 
octave_idx_typecidx (octave_idx_type i)
 
octave_idx_type cidx (octave_idx_type i) const
 
octave_idx_type cols () const
 
octave_idx_type columns () const
 
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 
T * data ()
 
T * data () const
 
T & data (octave_idx_type i)
 
data (octave_idx_type i) const
 
void delete_elements (const octave::idx_vector &i)
 
void delete_elements (const octave::idx_vector &i, const octave::idx_vector &j)
 
void delete_elements (int dim, const octave::idx_vector &i)
 
Sparse< T, Allocdiag (octave_idx_type k=0) const
 
octave_idx_type dim1 () const
 
octave_idx_type dim2 () const
 
dim_vector dims () 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)
 
Sparse< T, Allocindex (const octave::idx_vector &i, bool resize_ok=false) const
 
Sparse< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok=false) const
 
bool indices_ok () const
 
Sparse< T, Alloc > & insert (const Sparse< T, Alloc > &a, const Array< octave_idx_type > &idx)
 
Sparse< T, Alloc > & insert (const Sparse< T, Alloc > &a, octave_idx_type r, octave_idx_type c)
 
Sparse< T, Allocipermute (const Array< octave_idx_type > &vec) const
 
bool isempty () const
 
bool issquare () const
 
template<typename U , typename F >
Sparse< U > map (F fcn) const
 
template<typename U >
Sparse< U > map (U(&fcn)(const T &)) const
 
template<typename U >
Sparse< U > map (U(&fcn)(T)) const
 
Sparse< T, Allocmaybe_compress (bool remove_zeros=false)
 
octave_idx_type ndims () const
 
octave_idx_type nnz () const
 Actual number of nonzero terms. More...
 
octave_idx_type numel () const
 
octave_idx_type nzmax () const
 Amount of storage for nonzero elements. More...
 
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
 
Sparse< T, Alloc > & operator= (const Sparse< T, Alloc > &a)
 
Sparse< T, Allocpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 
void print_info (std::ostream &os, const std::string &prefix) 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
 
Sparse< T, Allocreshape (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_typeridx () const
 
octave_idx_typeridx (octave_idx_type i)
 
octave_idx_type ridx (octave_idx_type i) const
 
octave_idx_type rows () const
 
Sparse< T, Allocsort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< T, Allocsort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Sparse< T, Allocsqueeze () 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
 
Sparse< T, Alloctranspose () const
 
octave_idx_typexcidx ()
 
octave_idx_typexcidx (octave_idx_type i)
 
T * xdata ()
 
T & xdata (octave_idx_type i)
 
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_typexridx (octave_idx_type i)
 

Friends

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

Additional Inherited Members

- Static Public Member Functions inherited from Sparse< T, Alloc >
static Sparse< T, Alloccat (int dim, octave_idx_type n, const Sparse< T, Alloc > *sparse_list)
 
- Protected Member Functions inherited from Sparse< T, Alloc >
void make_unique ()
 
- Protected Attributes inherited from Sparse< T, Alloc >
dim_vector m_dimensions
 
Sparse< T, Alloc >::SparseRepm_rep
 

Detailed Description

Definition at line 44 of file CSparse.h.

Member Typedef Documentation

◆ dense_matrix_type

◆ solve_singularity_handler

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

Definition at line 53 of file CSparse.h.

Constructor & Destructor Documentation

◆ SparseComplexMatrix() [1/16]

SparseComplexMatrix::SparseComplexMatrix ( )
inline

Definition at line 55 of file CSparse.h.

Referenced by inverse(), max(), min(), and solve().

◆ SparseComplexMatrix() [2/16]

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

Definition at line 57 of file CSparse.h.

◆ SparseComplexMatrix() [3/16]

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

Definition at line 60 of file CSparse.h.

◆ SparseComplexMatrix() [4/16]

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

Definition at line 63 of file CSparse.h.

◆ SparseComplexMatrix() [5/16]

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

Definition at line 67 of file CSparse.h.

◆ SparseComplexMatrix() [6/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseComplexMatrix a)
inline

Definition at line 70 of file CSparse.h.

◆ SparseComplexMatrix() [7/16]

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

Definition at line 73 of file CSparse.h.

◆ SparseComplexMatrix() [8/16]

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

Definition at line 76 of file CSparse.h.

◆ SparseComplexMatrix() [9/16]

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

Definition at line 78 of file CSparse.h.

◆ SparseComplexMatrix() [10/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexMatrix a)
inlineexplicit

Definition at line 80 of file CSparse.h.

◆ SparseComplexMatrix() [11/16]

SparseComplexMatrix::SparseComplexMatrix ( const ComplexNDArray a)
inlineexplicit

Definition at line 83 of file CSparse.h.

◆ SparseComplexMatrix() [12/16]

SparseComplexMatrix::SparseComplexMatrix ( const Array< Complex > &  a,
const octave::idx_vector r,
const octave::idx_vector c,
octave_idx_type  nr = -1,
octave_idx_type  nc = -1,
bool  sum_terms = true,
octave_idx_type  nzm = -1 
)
inline

Definition at line 86 of file CSparse.h.

◆ SparseComplexMatrix() [13/16]

SparseComplexMatrix::SparseComplexMatrix ( const SparseMatrix a)
explicit

Definition at line 73 of file CSparse.cc.

◆ SparseComplexMatrix() [14/16]

SparseComplexMatrix::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 98 of file CSparse.h.

◆ ~SparseComplexMatrix()

SparseComplexMatrix::~SparseComplexMatrix ( )
default

Member Function Documentation

◆ abs()

◆ all()

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

Definition at line 7365 of file CSparse.cc.

References SPARSE_ALL_OP.

◆ all_elements_are_real()

bool SparseComplexMatrix::all_elements_are_real ( ) 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 7371 of file CSparse.cc.

References SPARSE_ANY_OP.

◆ any_element_is_inf_or_nan()

bool SparseComplexMatrix::any_element_is_inf_or_nan ( ) const

Definition at line 7292 of file CSparse.cc.

References Sparse< T, Alloc >::data(), isinf(), isnan(), and Sparse< T, Alloc >::nnz().

◆ any_element_is_nan()

bool SparseComplexMatrix::any_element_is_nan ( ) const

◆ column()

◆ concat() [1/2]

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

Definition at line 580 of file CSparse.cc.

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

◆ concat() [2/2]

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

Definition at line 590 of file CSparse.cc.

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

◆ cumprod()

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

Definition at line 7377 of file CSparse.cc.

References SPARSE_CUMPROD.

◆ cumsum()

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

Definition at line 7383 of file CSparse.cc.

References SPARSE_CUMSUM.

Referenced by Fcumsum().

◆ determinant() [1/3]

ComplexDET SparseComplexMatrix::determinant ( ) const

Definition at line 1071 of file CSparse.cc.

Referenced by determinant().

◆ determinant() [2/3]

ComplexDET SparseComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1079 of file CSparse.cc.

References determinant().

◆ determinant() [3/3]

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

◆ diag()

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

Definition at line 7445 of file CSparse.cc.

References MSparse< T >::diag().

◆ hermitian()

◆ insert() [1/4]

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() [2/4]

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(), SparseMatrix::concat(), and insert().

◆ insert() [3/4]

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

Definition at line 564 of file CSparse.cc.

References insert().

◆ insert() [4/4]

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 ( ) const

Definition at line 660 of file CSparse.cc.

Referenced by inverse().

◆ inverse() [2/4]

SparseComplexMatrix SparseComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 669 of file CSparse.cc.

References inverse().

◆ inverse() [3/4]

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

Definition at line 677 of file CSparse.cc.

References inverse().

◆ inverse() [4/4]

◆ ipermute()

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

Definition at line 7269 of file CSparse.cc.

References MSparse< T >::ipermute().

◆ ishermitian()

bool SparseComplexMatrix::ishermitian ( ) const

◆ matrix_value()

◆ max() [1/2]

◆ max() [2/2]

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

Definition at line 186 of file CSparse.cc.

◆ min() [1/2]

◆ min() [2/2]

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

Definition at line 343 of file CSparse.cc.

◆ operator!()

◆ operator!=()

Definition at line 136 of file CSparse.cc.

◆ operator=()

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

Definition at line 102 of file CSparse.h.

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

◆ operator==()

◆ permute()

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

Definition at line 7263 of file CSparse.cc.

References MSparse< T >::permute().

◆ prod()

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

Definition at line 7389 of file CSparse.cc.

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

Referenced by Fprod(), and prod().

◆ reshape()

SparseComplexMatrix SparseComplexMatrix::reshape ( const dim_vector new_dims) const

Definition at line 7257 of file CSparse.cc.

References MSparse< T >::reshape().

◆ row()

◆ solve() [1/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ColumnVector b) const

Definition at line 7152 of file CSparse.cc.

References solve().

◆ solve() [2/48]

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

Definition at line 7159 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 7166 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 7173 of file CSparse.cc.

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

◆ solve() [5/48]

ComplexColumnVector SparseComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 7183 of file CSparse.cc.

References solve().

◆ solve() [6/48]

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

Definition at line 7191 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 7199 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 7206 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 7096 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 7104 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 7111 of file CSparse.cc.

References solve().

◆ solve() [13/48]

ComplexMatrix SparseComplexMatrix::solve ( const Matrix b) const

Definition at line 7033 of file CSparse.cc.

References solve().

◆ solve() [14/48]

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

Definition at line 7041 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 7048 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 7055 of file CSparse.cc.

References solve().

◆ solve() [17/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseComplexMatrix b) const

Definition at line 7120 of file CSparse.cc.

References solve().

◆ solve() [18/48]

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

Definition at line 7128 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 7136 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 7143 of file CSparse.cc.

References solve().

◆ solve() [21/48]

SparseComplexMatrix SparseComplexMatrix::solve ( const SparseMatrix b) const

Definition at line 7064 of file CSparse.cc.

References solve().

◆ solve() [22/48]

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

Definition at line 7072 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 7080 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 7087 of file CSparse.cc.

References solve().

◆ solve() [25/48]

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

Definition at line 6967 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 6974 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 6982 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 6989 of file CSparse.cc.

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

◆ solve() [29/48]

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

Definition at line 6999 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 7008 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 7016 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 7023 of file CSparse.cc.

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

◆ solve() [33/48]

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

Definition at line 6836 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 6844 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 6852 of file CSparse.cc.

References solve().

◆ solve() [36/48]

◆ solve() [37/48]

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

Definition at line 6706 of file CSparse.cc.

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

◆ solve() [38/48]

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

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

References solve().

◆ solve() [40/48]

◆ solve() [41/48]

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

Definition at line 6901 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 6910 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 6918 of file CSparse.cc.

References solve().

◆ solve() [44/48]

◆ solve() [45/48]

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

Definition at line 6771 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 6779 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 6787 of file CSparse.cc.

References solve().

◆ solve() [48/48]

◆ squeeze()

SparseComplexMatrix SparseComplexMatrix::squeeze ( ) const

Definition at line 7251 of file CSparse.cc.

References MSparse< T >::squeeze().

◆ sum()

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

Definition at line 7401 of file CSparse.cc.

References SPARSE_REDUCTION_OP.

Referenced by Fsum().

◆ sumsq()

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

Definition at line 7407 of file CSparse.cc.

References COL_EXPR, ROW_EXPR, and SPARSE_BASE_REDUCTION_OP.

◆ too_large_for_float()

bool SparseComplexMatrix::too_large_for_float ( ) const

◆ transpose()

SparseComplexMatrix SparseComplexMatrix::transpose ( ) const
inline

Definition at line 139 of file CSparse.h.

References MSparse< T >::transpose().

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

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

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

Definition at line 7450 of file CSparse.cc.

◆ operator>>

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

Definition at line 7472 of file CSparse.cc.


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