GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
CSparse.h File Reference
#include "octave-config.h"
#include "CColVector.h"
#include "CMatrix.h"
#include "CNDArray.h"
#include "DET.h"
#include "MSparse.h"
#include "MatrixType.h"
#include "Sparse-op-decls.h"
#include "dColVector.h"
#include "dMatrix.h"
#include "dNDArray.h"
#include "oct-cmplx.h"
#include "mx-fwd.h"

Go to the source code of this file.

Classes

class  SparseComplexMatrix
 

Functions

ComplexMatrix herm_mul (const SparseComplexMatrix &, const ComplexMatrix &)
 
SparseComplexMatrix max (const Complex &c, const SparseComplexMatrix &m)
 
SparseComplexMatrix max (const SparseComplexMatrix &a, const SparseComplexMatrix &b)
 
SparseComplexMatrix max (const SparseComplexMatrix &m, const Complex &c)
 
SparseComplexMatrix min (const Complex &c, const SparseComplexMatrix &m)
 
SparseComplexMatrix min (const SparseComplexMatrix &a, const SparseComplexMatrix &b)
 
SparseComplexMatrix min (const SparseComplexMatrix &m, const Complex &c)
 
ComplexMatrix mul_herm (const ComplexMatrix &, const SparseComplexMatrix &)
 
ComplexMatrix mul_trans (const ComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_and (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_and (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_and (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_eq (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_eq (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_eq (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_ge (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_ge (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_ge (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_gt (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_gt (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_gt (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_le (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_le (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_le (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_lt (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_lt (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_lt (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_ne (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_ne (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_ne (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_or (const Complex &, const SparseComplexMatrix &)
 
SparseBoolMatrix mx_el_or (const SparseComplexMatrix &, const Complex &)
 
SparseBoolMatrix mx_el_or (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator* (const Complex &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator* (const ComplexDiagMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator* (const ComplexDiagMatrix &, const SparseMatrix &)
 
ComplexMatrix operator* (const ComplexMatrix &, const SparseComplexMatrix &)
 
ComplexMatrix operator* (const ComplexMatrix &, const SparseMatrix &)
 
SparseComplexMatrix operator* (const DiagMatrix &, const SparseComplexMatrix &)
 
ComplexMatrix operator* (const Matrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator* (const PermMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &, const ComplexDiagMatrix &)
 
ComplexMatrix operator* (const SparseComplexMatrix &, const ComplexMatrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &, const DiagMatrix &)
 
ComplexMatrix operator* (const SparseComplexMatrix &, const Matrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &, const PermMatrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &, const SparseMatrix &)
 
SparseComplexMatrix operator* (const SparseComplexMatrix &x, const Complex &y)
 
SparseComplexMatrix operator* (const SparseMatrix &, const ComplexDiagMatrix &)
 
ComplexMatrix operator* (const SparseMatrix &, const ComplexMatrix &)
 
SparseComplexMatrix operator* (const SparseMatrix &, const SparseComplexMatrix &)
 
ComplexMatrix operator+ (const Complex &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator+ (const ComplexDiagMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator+ (const ComplexDiagMatrix &, const SparseMatrix &)
 
SparseComplexMatrix operator+ (const DiagMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator+ (const SparseComplexMatrix &, const ComplexDiagMatrix &)
 
SparseComplexMatrix operator+ (const SparseComplexMatrix &, const DiagMatrix &)
 
SparseComplexMatrix operator+ (const SparseComplexMatrix &x)
 
ComplexMatrix operator+ (const SparseComplexMatrix &x, const Complex &y)
 
SparseComplexMatrix operator+ (const SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator+ (const SparseMatrix &, const ComplexDiagMatrix &)
 
SparseComplexMatrix operator+= (SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
ComplexMatrix operator- (const Complex &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator- (const ComplexDiagMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator- (const ComplexDiagMatrix &, const SparseMatrix &)
 
SparseComplexMatrix operator- (const DiagMatrix &, const SparseComplexMatrix &)
 
SparseComplexMatrix operator- (const SparseComplexMatrix &, const ComplexDiagMatrix &)
 
SparseComplexMatrix operator- (const SparseComplexMatrix &, const DiagMatrix &)
 
SparseComplexMatrix operator- (const SparseComplexMatrix &x)
 
ComplexMatrix operator- (const SparseComplexMatrix &x, const Complex &y)
 
SparseComplexMatrix operator- (const SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator- (const SparseMatrix &, const ComplexDiagMatrix &)
 
SparseComplexMatrix operator-= (SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator/ (const Complex &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix operator/ (const SparseComplexMatrix &x, const Complex &y)
 
SparseComplexMatrix product (const SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
SparseComplexMatrix quotient (const SparseComplexMatrix &x, const SparseComplexMatrix &y)
 
ComplexMatrix trans_mul (const SparseComplexMatrix &, const ComplexMatrix &)
 

Function Documentation

◆ herm_mul()

ComplexMatrix herm_mul ( const SparseComplexMatrix m,
const ComplexMatrix a 
)

Definition at line 7552 of file CSparse.cc.

References conj(), and SPARSE_FULL_TRANS_MUL.

Referenced by install_scm_cm_ops().

◆ max() [1/3]

SparseComplexMatrix max ( const Complex c,
const SparseComplexMatrix m 
)

Definition at line 7791 of file CSparse.cc.

References EMPTY_RETURN_CHECK, m, and Sparse< T, Alloc >::xdata().

Referenced by max().

◆ max() [2/3]

◆ max() [3/3]

SparseComplexMatrix max ( const SparseComplexMatrix m,
const Complex c 
)

Definition at line 7815 of file CSparse.cc.

References m, and max().

◆ min() [1/3]

SparseComplexMatrix min ( const Complex c,
const SparseComplexMatrix m 
)

Definition at line 7674 of file CSparse.cc.

References EMPTY_RETURN_CHECK, and m.

Referenced by min().

◆ min() [2/3]

◆ min() [3/3]

SparseComplexMatrix min ( const SparseComplexMatrix m,
const Complex c 
)

Definition at line 7698 of file CSparse.cc.

References m, and min().

◆ mul_herm()

ComplexMatrix mul_herm ( const ComplexMatrix m,
const SparseComplexMatrix a 
)

Definition at line 7522 of file CSparse.cc.

References conj(), and FULL_SPARSE_MUL_TRANS.

Referenced by install_cm_scm_ops().

◆ mul_trans()

ComplexMatrix mul_trans ( const ComplexMatrix m,
const SparseComplexMatrix a 
)

◆ mx_el_and() [1/3]

SparseBoolMatrix mx_el_and ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7911 of file CSparse.cc.

◆ mx_el_and() [2/3]

SparseBoolMatrix mx_el_and ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7908 of file CSparse.cc.

◆ mx_el_and() [3/3]

SparseBoolMatrix mx_el_and ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7914 of file CSparse.cc.

◆ mx_el_eq() [1/3]

SparseBoolMatrix mx_el_eq ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_eq() [2/3]

SparseBoolMatrix mx_el_eq ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_eq() [3/3]

SparseBoolMatrix mx_el_eq ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_ge() [1/3]

SparseBoolMatrix mx_el_ge ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_ge() [2/3]

SparseBoolMatrix mx_el_ge ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_ge() [3/3]

SparseBoolMatrix mx_el_ge ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_gt() [1/3]

SparseBoolMatrix mx_el_gt ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_gt() [2/3]

SparseBoolMatrix mx_el_gt ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_gt() [3/3]

SparseBoolMatrix mx_el_gt ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_le() [1/3]

SparseBoolMatrix mx_el_le ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_le() [2/3]

SparseBoolMatrix mx_el_le ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_le() [3/3]

SparseBoolMatrix mx_el_le ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_lt() [1/3]

SparseBoolMatrix mx_el_lt ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_lt() [2/3]

SparseBoolMatrix mx_el_lt ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_lt() [3/3]

SparseBoolMatrix mx_el_lt ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_ne() [1/3]

SparseBoolMatrix mx_el_ne ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7910 of file CSparse.cc.

◆ mx_el_ne() [2/3]

SparseBoolMatrix mx_el_ne ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7907 of file CSparse.cc.

◆ mx_el_ne() [3/3]

SparseBoolMatrix mx_el_ne ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7913 of file CSparse.cc.

◆ mx_el_or() [1/3]

SparseBoolMatrix mx_el_or ( const Complex s,
const SparseComplexMatrix m 
)

Definition at line 7911 of file CSparse.cc.

◆ mx_el_or() [2/3]

SparseBoolMatrix mx_el_or ( const SparseComplexMatrix m,
const Complex s 
)

Definition at line 7908 of file CSparse.cc.

◆ mx_el_or() [3/3]

SparseBoolMatrix mx_el_or ( const SparseComplexMatrix m1,
const SparseComplexMatrix m2 
)

Definition at line 7914 of file CSparse.cc.

◆ operator*() [1/19]

SparseComplexMatrix operator* ( const Complex x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator*() [2/19]

SparseComplexMatrix operator* ( const ComplexDiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7581 of file CSparse.cc.

References d.

◆ operator*() [3/19]

SparseComplexMatrix operator* ( const ComplexDiagMatrix d,
const SparseMatrix a 
)

Definition at line 7570 of file CSparse.cc.

References d.

◆ operator*() [4/19]

ComplexMatrix operator* ( const ComplexMatrix m,
const SparseComplexMatrix a 
)

Definition at line 7510 of file CSparse.cc.

References FULL_SPARSE_MUL.

◆ operator*() [5/19]

ComplexMatrix operator* ( const ComplexMatrix m,
const SparseMatrix a 
)

Definition at line 7498 of file CSparse.cc.

References FULL_SPARSE_MUL.

◆ operator*() [6/19]

SparseComplexMatrix operator* ( const DiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7559 of file CSparse.cc.

References d.

◆ operator*() [7/19]

ComplexMatrix operator* ( const Matrix m,
const SparseComplexMatrix a 
)

Definition at line 7504 of file CSparse.cc.

References FULL_SPARSE_MUL.

◆ operator*() [8/19]

SparseComplexMatrix operator* ( const PermMatrix p,
const SparseComplexMatrix a 
)

Definition at line 7656 of file CSparse.cc.

References octinternal_do_mul_pm_sm().

◆ operator*() [9/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7586 of file CSparse.cc.

References d.

◆ operator*() [10/19]

ComplexMatrix operator* ( const SparseComplexMatrix m,
const ComplexMatrix a 
)

Definition at line 7540 of file CSparse.cc.

References SPARSE_FULL_MUL.

◆ operator*() [11/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix a,
const DiagMatrix d 
)

Definition at line 7564 of file CSparse.cc.

References d.

◆ operator*() [12/19]

ComplexMatrix operator* ( const SparseComplexMatrix m,
const Matrix a 
)

Definition at line 7528 of file CSparse.cc.

References SPARSE_FULL_MUL.

◆ operator*() [13/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix a,
const PermMatrix p 
)

Definition at line 7662 of file CSparse.cc.

References octinternal_do_mul_sm_pm().

◆ operator*() [14/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix m,
const SparseComplexMatrix a 
)

Definition at line 7492 of file CSparse.cc.

References SPARSE_SPARSE_MUL.

◆ operator*() [15/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix m,
const SparseMatrix a 
)

Definition at line 7480 of file CSparse.cc.

References SPARSE_SPARSE_MUL.

◆ operator*() [16/19]

SparseComplexMatrix operator* ( const SparseComplexMatrix x,
const Complex y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator*() [17/19]

SparseComplexMatrix operator* ( const SparseMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7575 of file CSparse.cc.

References d.

◆ operator*() [18/19]

ComplexMatrix operator* ( const SparseMatrix m,
const ComplexMatrix a 
)

Definition at line 7534 of file CSparse.cc.

References SPARSE_FULL_MUL.

◆ operator*() [19/19]

SparseComplexMatrix operator* ( const SparseMatrix m,
const SparseComplexMatrix a 
)

Definition at line 7486 of file CSparse.cc.

References SPARSE_SPARSE_MUL.

◆ operator+() [1/10]

ComplexMatrix operator+ ( const Complex x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator+() [2/10]

SparseComplexMatrix operator+ ( const ComplexDiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7602 of file CSparse.cc.

References d.

◆ operator+() [3/10]

SparseComplexMatrix operator+ ( const ComplexDiagMatrix d,
const SparseMatrix a 
)

Definition at line 7592 of file CSparse.cc.

References d.

◆ operator+() [4/10]

SparseComplexMatrix operator+ ( const DiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7597 of file CSparse.cc.

References d.

◆ operator+() [5/10]

SparseComplexMatrix operator+ ( const SparseComplexMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7617 of file CSparse.cc.

References d.

◆ operator+() [6/10]

SparseComplexMatrix operator+ ( const SparseComplexMatrix a,
const DiagMatrix d 
)

Definition at line 7612 of file CSparse.cc.

References d.

◆ operator+() [7/10]

SparseComplexMatrix operator+ ( const SparseComplexMatrix x)
inline

Definition at line 577 of file CSparse.h.

◆ operator+() [8/10]

ComplexMatrix operator+ ( const SparseComplexMatrix x,
const Complex y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator+() [9/10]

SparseComplexMatrix operator+ ( const SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator+() [10/10]

SparseComplexMatrix operator+ ( const SparseMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7607 of file CSparse.cc.

References d.

◆ operator+=()

SparseComplexMatrix operator+= ( SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator-() [1/10]

ComplexMatrix operator- ( const Complex x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator-() [2/10]

SparseComplexMatrix operator- ( const ComplexDiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7633 of file CSparse.cc.

References d.

◆ operator-() [3/10]

SparseComplexMatrix operator- ( const ComplexDiagMatrix d,
const SparseMatrix a 
)

Definition at line 7623 of file CSparse.cc.

References d.

◆ operator-() [4/10]

SparseComplexMatrix operator- ( const DiagMatrix d,
const SparseComplexMatrix a 
)

Definition at line 7628 of file CSparse.cc.

References d.

◆ operator-() [5/10]

SparseComplexMatrix operator- ( const SparseComplexMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7648 of file CSparse.cc.

References d.

◆ operator-() [6/10]

SparseComplexMatrix operator- ( const SparseComplexMatrix a,
const DiagMatrix d 
)

Definition at line 7643 of file CSparse.cc.

References d.

◆ operator-() [7/10]

SparseComplexMatrix operator- ( const SparseComplexMatrix x)
inline

Definition at line 577 of file CSparse.h.

◆ operator-() [8/10]

ComplexMatrix operator- ( const SparseComplexMatrix x,
const Complex y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator-() [9/10]

SparseComplexMatrix operator- ( const SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator-() [10/10]

SparseComplexMatrix operator- ( const SparseMatrix a,
const ComplexDiagMatrix d 
)

Definition at line 7638 of file CSparse.cc.

References d.

◆ operator-=()

SparseComplexMatrix operator-= ( SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator/() [1/2]

SparseComplexMatrix operator/ ( const Complex x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ operator/() [2/2]

SparseComplexMatrix operator/ ( const SparseComplexMatrix x,
const Complex y 
)
inline

Definition at line 577 of file CSparse.h.

◆ product()

SparseComplexMatrix product ( const SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ quotient()

SparseComplexMatrix quotient ( const SparseComplexMatrix x,
const SparseComplexMatrix y 
)
inline

Definition at line 577 of file CSparse.h.

◆ trans_mul()

ComplexMatrix trans_mul ( const SparseComplexMatrix m,
const ComplexMatrix a 
)