GNU Octave 11.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
dSparse.h File Reference
#include "octave-config.h"
#include "mx-fwd.h"
#include "CColVector.h"
#include "CMatrix.h"
#include "DET.h"
#include "MSparse.h"
#include "MatrixType.h"
#include "Sparse-op-decls.h"
#include "dColVector.h"
#include "dMatrix.h"
#include "dNDArray.h"

Go to the source code of this file.

Classes

class  SparseMatrix
 

Functions

SparseMatrix imag (const SparseComplexMatrix &a)
 
SparseMatrix max (const SparseMatrix &a, const SparseMatrix &b)
 
SparseMatrix max (const SparseMatrix &a, const SparseMatrix &b, const bool nanflag)
 
SparseMatrix max (const SparseMatrix &a, const SparseMatrix &b, const bool nanflag, const bool realabs)
 
SparseMatrix max (const SparseMatrix &m, double d)
 
SparseMatrix max (const SparseMatrix &m, double d, const bool nanflag)
 
SparseMatrix max (const SparseMatrix &m, double d, const bool nanflag, const bool realabs)
 
SparseMatrix max (double d, const SparseMatrix &m)
 
SparseMatrix max (double d, const SparseMatrix &m, const bool nanflag)
 
SparseMatrix max (double d, const SparseMatrix &m, const bool nanflag, const bool realabs)
 
SparseMatrix min (const SparseMatrix &a, const SparseMatrix &b)
 
SparseMatrix min (const SparseMatrix &a, const SparseMatrix &b, const bool nanflag)
 
SparseMatrix min (const SparseMatrix &a, const SparseMatrix &b, const bool nanflag, const bool realabs)
 
SparseMatrix min (const SparseMatrix &m, double d)
 
SparseMatrix min (const SparseMatrix &m, double d, const bool nanflag)
 
SparseMatrix min (const SparseMatrix &m, double d, const bool nanflag, const bool realabs)
 
SparseMatrix min (double d, const SparseMatrix &m)
 
SparseMatrix min (double d, const SparseMatrix &m, const bool nanflag)
 
SparseMatrix min (double d, const SparseMatrix &m, const bool nanflag, const bool realabs)
 
Matrix mul_trans (const Matrix &a, const SparseMatrix &b)
 
SparseBoolMatrix mx_el_and (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_and (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_and (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_eq (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_eq (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_eq (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_ge (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_ge (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_ge (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_gt (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_gt (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_gt (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_le (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_le (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_le (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_lt (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_lt (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_lt (const SparseMatrix &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_ne (const double &, const SparseMatrix &)
 
SparseBoolMatrix mx_el_ne (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_ne (const SparseMatrix &, const SparseMatrix &)
 
boolMatrix mx_el_or (const double &, const SparseMatrix &)
 
boolMatrix mx_el_or (const SparseMatrix &, const double &)
 
SparseBoolMatrix mx_el_or (const SparseMatrix &, const SparseMatrix &)
 
SparseMatrix operator* (const DiagMatrix &, const SparseMatrix &)
 
SparseMatrix operator* (const double &x, const SparseMatrix &y)
 
Matrix operator* (const Matrix &a, const SparseMatrix &b)
 
SparseMatrix operator* (const PermMatrix &, const SparseMatrix &)
 
SparseMatrix operator* (const SparseMatrix &, const DiagMatrix &)
 
SparseMatrix operator* (const SparseMatrix &, const PermMatrix &)
 
Matrix operator* (const SparseMatrix &a, const Matrix &b)
 
SparseMatrix operator* (const SparseMatrix &a, const SparseMatrix &b)
 
SparseMatrix operator* (const SparseMatrix &x, const double &y)
 
SparseMatrix operator+ (const DiagMatrix &, const SparseMatrix &)
 
Matrix operator+ (const double &x, const SparseMatrix &y)
 
SparseMatrix operator+ (const SparseMatrix &, const DiagMatrix &)
 
SparseMatrix operator+ (const SparseMatrix &x)
 
Matrix operator+ (const SparseMatrix &x, const double &y)
 
SparseMatrix operator+ (const SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix operator+= (SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix operator- (const DiagMatrix &, const SparseMatrix &)
 
Matrix operator- (const double &x, const SparseMatrix &y)
 
SparseMatrix operator- (const SparseMatrix &, const DiagMatrix &)
 
SparseMatrix operator- (const SparseMatrix &x)
 
Matrix operator- (const SparseMatrix &x, const double &y)
 
SparseMatrix operator- (const SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix operator-= (SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix operator/ (const double &x, const SparseMatrix &y)
 
SparseMatrix operator/ (const SparseMatrix &x, const double &y)
 
SparseMatrix product (const SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix quotient (const SparseMatrix &x, const SparseMatrix &y)
 
SparseMatrix real (const SparseComplexMatrix &a)
 
Matrix trans_mul (const SparseMatrix &a, const Matrix &b)
 

Function Documentation

◆ imag()

◆ max() [1/9]

SparseMatrix max ( const SparseMatrix a,
const SparseMatrix b 
)
extern

Definition at line 8165 of file dSparse.cc.

References max().

◆ max() [2/9]

SparseMatrix max ( const SparseMatrix a,
const SparseMatrix b,
const bool  nanflag 
)
extern

Definition at line 8173 of file dSparse.cc.

References max().

◆ max() [3/9]

◆ max() [4/9]

SparseMatrix max ( const SparseMatrix m,
double  d 
)
extern

Definition at line 8144 of file dSparse.cc.

References d, and max().

◆ max() [5/9]

SparseMatrix max ( const SparseMatrix m,
double  d,
const bool  nanflag 
)
extern

Definition at line 8152 of file dSparse.cc.

References d, and max().

◆ max() [6/9]

SparseMatrix max ( const SparseMatrix m,
double  d,
const bool  nanflag,
const bool  realabs 
)
extern

Definition at line 8159 of file dSparse.cc.

References d, and max().

◆ max() [7/9]

SparseMatrix max ( double  d,
const SparseMatrix m 
)
extern

Definition at line 8072 of file dSparse.cc.

References d, and max().

Referenced by max(), max(), max(), max(), max(), max(), and max().

◆ max() [8/9]

SparseMatrix max ( double  d,
const SparseMatrix m,
const bool  nanflag 
)
extern

Definition at line 8080 of file dSparse.cc.

References d, and max().

◆ max() [9/9]

◆ min() [1/9]

SparseMatrix min ( const SparseMatrix a,
const SparseMatrix b 
)
extern

Definition at line 7942 of file dSparse.cc.

References min().

◆ min() [2/9]

SparseMatrix min ( const SparseMatrix a,
const SparseMatrix b,
const bool  nanflag 
)
extern

Definition at line 7950 of file dSparse.cc.

References min().

◆ min() [3/9]

◆ min() [4/9]

SparseMatrix min ( const SparseMatrix m,
double  d 
)
extern

Definition at line 7921 of file dSparse.cc.

References d, and min().

◆ min() [5/9]

SparseMatrix min ( const SparseMatrix m,
double  d,
const bool  nanflag 
)
extern

Definition at line 7929 of file dSparse.cc.

References d, and min().

◆ min() [6/9]

SparseMatrix min ( const SparseMatrix m,
double  d,
const bool  nanflag,
const bool  realabs 
)
extern

Definition at line 7936 of file dSparse.cc.

References d, and min().

◆ min() [7/9]

SparseMatrix min ( double  d,
const SparseMatrix m 
)
extern

Definition at line 7849 of file dSparse.cc.

References d, and min().

Referenced by min(), min(), min(), min(), min(), min(), and min().

◆ min() [8/9]

SparseMatrix min ( double  d,
const SparseMatrix m,
const bool  nanflag 
)
extern

Definition at line 7857 of file dSparse.cc.

References d, and min().

◆ min() [9/9]

◆ mul_trans()

Matrix mul_trans ( const Matrix a,
const SparseMatrix b 
)
extern

Definition at line 7773 of file dSparse.cc.

References FULL_SPARSE_MUL_TRANS.

◆ mx_el_and() [1/3]

SparseBoolMatrix mx_el_and ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8298 of file dSparse.cc.

◆ mx_el_and() [2/3]

SparseBoolMatrix mx_el_and ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8295 of file dSparse.cc.

◆ mx_el_and() [3/3]

SparseBoolMatrix mx_el_and ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8301 of file dSparse.cc.

◆ mx_el_eq() [1/3]

SparseBoolMatrix mx_el_eq ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_eq() [2/3]

SparseBoolMatrix mx_el_eq ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_eq() [3/3]

SparseBoolMatrix mx_el_eq ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_ge() [1/3]

SparseBoolMatrix mx_el_ge ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_ge() [2/3]

SparseBoolMatrix mx_el_ge ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_ge() [3/3]

SparseBoolMatrix mx_el_ge ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_gt() [1/3]

SparseBoolMatrix mx_el_gt ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_gt() [2/3]

SparseBoolMatrix mx_el_gt ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_gt() [3/3]

SparseBoolMatrix mx_el_gt ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_le() [1/3]

SparseBoolMatrix mx_el_le ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_le() [2/3]

SparseBoolMatrix mx_el_le ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_le() [3/3]

SparseBoolMatrix mx_el_le ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_lt() [1/3]

SparseBoolMatrix mx_el_lt ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_lt() [2/3]

SparseBoolMatrix mx_el_lt ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_lt() [3/3]

SparseBoolMatrix mx_el_lt ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_ne() [1/3]

SparseBoolMatrix mx_el_ne ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8297 of file dSparse.cc.

◆ mx_el_ne() [2/3]

SparseBoolMatrix mx_el_ne ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8294 of file dSparse.cc.

◆ mx_el_ne() [3/3]

SparseBoolMatrix mx_el_ne ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8300 of file dSparse.cc.

◆ mx_el_or() [1/3]

boolMatrix mx_el_or ( const double s,
const SparseMatrix m 
)
extern

Definition at line 8298 of file dSparse.cc.

◆ mx_el_or() [2/3]

boolMatrix mx_el_or ( const SparseMatrix m,
const double s 
)
extern

Definition at line 8295 of file dSparse.cc.

◆ mx_el_or() [3/3]

SparseBoolMatrix mx_el_or ( const SparseMatrix m1,
const SparseMatrix m2 
)
extern

Definition at line 8301 of file dSparse.cc.

◆ operator*() [1/9]

SparseMatrix operator* ( const DiagMatrix d,
const SparseMatrix a 
)
extern

Definition at line 7793 of file dSparse.cc.

References d.

◆ operator*() [2/9]

SparseMatrix operator* ( const double x,
const SparseMatrix y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator*() [3/9]

Matrix operator* ( const Matrix a,
const SparseMatrix b 
)
extern

Definition at line 7767 of file dSparse.cc.

References FULL_SPARSE_MUL.

◆ operator*() [4/9]

SparseMatrix operator* ( const PermMatrix p,
const SparseMatrix a 
)
extern

Definition at line 7831 of file dSparse.cc.

References octinternal_do_mul_pm_sm().

◆ operator*() [5/9]

SparseMatrix operator* ( const SparseMatrix a,
const DiagMatrix d 
)
extern

Definition at line 7799 of file dSparse.cc.

References d.

◆ operator*() [6/9]

SparseMatrix operator* ( const SparseMatrix a,
const PermMatrix p 
)
extern

Definition at line 7837 of file dSparse.cc.

References octinternal_do_mul_sm_pm().

◆ operator*() [7/9]

Matrix operator* ( const SparseMatrix a,
const Matrix b 
)
extern

Definition at line 7779 of file dSparse.cc.

References SPARSE_FULL_MUL.

◆ operator*() [8/9]

SparseMatrix operator* ( const SparseMatrix a,
const SparseMatrix b 
)
extern

Definition at line 7761 of file dSparse.cc.

References SPARSE_SPARSE_MUL.

◆ operator*() [9/9]

SparseMatrix operator* ( const SparseMatrix x,
const double y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator+() [1/6]

SparseMatrix operator+ ( const DiagMatrix d,
const SparseMatrix a 
)
extern

Definition at line 7805 of file dSparse.cc.

References d.

◆ operator+() [2/6]

Matrix operator+ ( const double x,
const SparseMatrix y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator+() [3/6]

SparseMatrix operator+ ( const SparseMatrix a,
const DiagMatrix d 
)
extern

Definition at line 7817 of file dSparse.cc.

References d.

◆ operator+() [4/6]

SparseMatrix operator+ ( const SparseMatrix x)
inline

Definition at line 555 of file dSparse.h.

◆ operator+() [5/6]

Matrix operator+ ( const SparseMatrix x,
const double y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator+() [6/6]

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

Definition at line 555 of file dSparse.h.

◆ operator+=()

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

Definition at line 555 of file dSparse.h.

◆ operator-() [1/6]

SparseMatrix operator- ( const DiagMatrix d,
const SparseMatrix a 
)
extern

Definition at line 7811 of file dSparse.cc.

References d.

◆ operator-() [2/6]

Matrix operator- ( const double x,
const SparseMatrix y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator-() [3/6]

SparseMatrix operator- ( const SparseMatrix a,
const DiagMatrix d 
)
extern

Definition at line 7823 of file dSparse.cc.

References d.

◆ operator-() [4/6]

SparseMatrix operator- ( const SparseMatrix x)
inline

Definition at line 555 of file dSparse.h.

◆ operator-() [5/6]

Matrix operator- ( const SparseMatrix x,
const double y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator-() [6/6]

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

Definition at line 555 of file dSparse.h.

◆ operator-=()

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

Definition at line 555 of file dSparse.h.

◆ operator/() [1/2]

SparseMatrix operator/ ( const double x,
const SparseMatrix y 
)
inline

Definition at line 555 of file dSparse.h.

◆ operator/() [2/2]

SparseMatrix operator/ ( const SparseMatrix x,
const double y 
)
inline

Definition at line 555 of file dSparse.h.

◆ product()

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

Definition at line 555 of file dSparse.h.

◆ quotient()

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

Definition at line 555 of file dSparse.h.

◆ real()

SparseMatrix real ( const SparseComplexMatrix a)
extern

Definition at line 128 of file dSparse.cc.

◆ trans_mul()

Matrix trans_mul ( const SparseMatrix a,
const Matrix b 
)
extern

Definition at line 7785 of file dSparse.cc.

References SPARSE_FULL_TRANS_MUL.