GNU Octave 10.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 &m, double d)
 
SparseMatrix max (double d, const SparseMatrix &m)
 
SparseMatrix min (const SparseMatrix &a, const SparseMatrix &b)
 
SparseMatrix min (const SparseMatrix &m, double d)
 
SparseMatrix min (double d, const SparseMatrix &m)
 
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 &)
 
SparseBoolMatrix mx_el_or (const double &, const SparseMatrix &)
 
SparseBoolMatrix 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()

SparseMatrix imag ( const SparseComplexMatrix a)
extern

Definition at line 123 of file dSparse.cc.

◆ max() [1/3]

◆ max() [2/3]

SparseMatrix max ( const SparseMatrix m,
double  d 
)
extern

Definition at line 7754 of file dSparse.cc.

References d, and max().

◆ max() [3/3]

◆ min() [1/3]

◆ min() [2/3]

SparseMatrix min ( const SparseMatrix m,
double  d 
)
extern

Definition at line 7604 of file dSparse.cc.

References d, and min().

◆ min() [3/3]

◆ mul_trans()

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

Definition at line 7471 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 7850 of file dSparse.cc.

◆ mx_el_and() [2/3]

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

Definition at line 7847 of file dSparse.cc.

◆ mx_el_and() [3/3]

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

Definition at line 7853 of file dSparse.cc.

◆ mx_el_eq() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_eq() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_eq() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_ge() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_ge() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_ge() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_gt() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_gt() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_gt() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_le() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_le() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_le() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_lt() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_lt() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_lt() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_ne() [1/3]

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

Definition at line 7849 of file dSparse.cc.

◆ mx_el_ne() [2/3]

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

Definition at line 7846 of file dSparse.cc.

◆ mx_el_ne() [3/3]

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

Definition at line 7852 of file dSparse.cc.

◆ mx_el_or() [1/3]

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

Definition at line 7850 of file dSparse.cc.

◆ mx_el_or() [2/3]

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

Definition at line 7847 of file dSparse.cc.

◆ mx_el_or() [3/3]

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

Definition at line 7853 of file dSparse.cc.

◆ operator*() [1/9]

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

Definition at line 7491 of file dSparse.cc.

References d.

◆ operator*() [2/9]

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

Definition at line 522 of file dSparse.h.

◆ operator*() [3/9]

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

Definition at line 7465 of file dSparse.cc.

References FULL_SPARSE_MUL.

◆ operator*() [4/9]

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

Definition at line 7529 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 7497 of file dSparse.cc.

References d.

◆ operator*() [6/9]

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

Definition at line 7535 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 7477 of file dSparse.cc.

References SPARSE_FULL_MUL.

◆ operator*() [8/9]

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

Definition at line 7459 of file dSparse.cc.

References SPARSE_SPARSE_MUL.

◆ operator*() [9/9]

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

Definition at line 522 of file dSparse.h.

◆ operator+() [1/6]

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

Definition at line 7503 of file dSparse.cc.

References d.

◆ operator+() [2/6]

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

Definition at line 522 of file dSparse.h.

◆ operator+() [3/6]

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

Definition at line 7515 of file dSparse.cc.

References d.

◆ operator+() [4/6]

SparseMatrix operator+ ( const SparseMatrix x)
inline

Definition at line 522 of file dSparse.h.

◆ operator+() [5/6]

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

Definition at line 522 of file dSparse.h.

◆ operator+() [6/6]

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

Definition at line 522 of file dSparse.h.

◆ operator+=()

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

Definition at line 522 of file dSparse.h.

◆ operator-() [1/6]

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

Definition at line 7509 of file dSparse.cc.

References d.

◆ operator-() [2/6]

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

Definition at line 522 of file dSparse.h.

◆ operator-() [3/6]

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

Definition at line 7521 of file dSparse.cc.

References d.

◆ operator-() [4/6]

SparseMatrix operator- ( const SparseMatrix x)
inline

Definition at line 522 of file dSparse.h.

◆ operator-() [5/6]

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

Definition at line 522 of file dSparse.h.

◆ operator-() [6/6]

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

Definition at line 522 of file dSparse.h.

◆ operator-=()

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

Definition at line 522 of file dSparse.h.

◆ operator/() [1/2]

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

Definition at line 522 of file dSparse.h.

◆ operator/() [2/2]

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

Definition at line 522 of file dSparse.h.

◆ product()

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

Definition at line 522 of file dSparse.h.

◆ quotient()

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

Definition at line 522 of file dSparse.h.

◆ real()

SparseMatrix real ( const SparseComplexMatrix a)
extern

Definition at line 122 of file dSparse.cc.

◆ trans_mul()

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

Definition at line 7483 of file dSparse.cc.

References SPARSE_FULL_TRANS_MUL.