GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Sparse-op-decls.h File Reference
#include "octave-config.h"
#include "mx-fwd.h"

Go to the source code of this file.

Macros

#define SPARSE_BIN_OP_DECL(R, OP, X, Y, API)    extern API R OP (const X&, const Y&)
 
#define SPARSE_BOOL_OP_DECL(OP, X, Y, API)    extern API SparseBoolMatrix OP (const X&, const Y&)
 
#define SPARSE_CMP_OP_DECL(OP, X, Y, API)    extern API SparseBoolMatrix OP (const X&, const Y&)
 
#define SPARSE_MSM_BIN_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_MSM_BOOL_OP_DECLS(M1, M2, API)
 
#define SPARSE_MSM_CMP_OP_DECLS(M1, M2, API)
 
#define SPARSE_MSM_EQNE_OP_DECLS(M1, M2, API)
 
#define SPARSE_MSM_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_SMM_BIN_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_SMM_BOOL_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMM_CMP_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMM_EQNE_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMM_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_SMS_BIN_OP_DECLS(R1, R2, M, S, API)
 
#define SPARSE_SMS_BOOL_OP_DECLS(M, S, API)
 
#define SPARSE_SMS_CMP_OP_DECLS(M, S, API)
 
#define SPARSE_SMS_EQNE_OP_DECLS(M, S, API)
 
#define SPARSE_SMS_OP_DECLS(R1, R2, M, S, API)
 
#define SPARSE_SMSM_BIN_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_SMSM_BOOL_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMSM_CMP_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMSM_EQNE_OP_DECLS(M1, M2, API)
 
#define SPARSE_SMSM_OP_DECLS(R1, R2, M1, M2, API)
 
#define SPARSE_SSM_BIN_OP_DECLS(R1, R2, S, M, API)
 
#define SPARSE_SSM_BOOL_OP_DECLS(S, M, API)
 
#define SPARSE_SSM_CMP_OP_DECLS(S, M, API)
 
#define SPARSE_SSM_EQNE_OP_DECLS(S, M, API)
 
#define SPARSE_SSM_OP_DECLS(R1, R2, S, M, API)
 

Macro Definition Documentation

◆ SPARSE_BIN_OP_DECL

#define SPARSE_BIN_OP_DECL (   R,
  OP,
  X,
  Y,
  API 
)     extern API R OP (const X&, const Y&)

Definition at line 33 of file Sparse-op-decls.h.

◆ SPARSE_BOOL_OP_DECL

#define SPARSE_BOOL_OP_DECL (   OP,
  X,
  Y,
  API 
)     extern API SparseBoolMatrix OP (const X&, const Y&)

Definition at line 39 of file Sparse-op-decls.h.

◆ SPARSE_CMP_OP_DECL

#define SPARSE_CMP_OP_DECL (   OP,
  X,
  Y,
  API 
)     extern API SparseBoolMatrix OP (const X&, const Y&)

Definition at line 36 of file Sparse-op-decls.h.

◆ SPARSE_MSM_BIN_OP_DECLS

#define SPARSE_MSM_BIN_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_BIN_OP_DECL (R1, operator +, M1, M2, API); \
SPARSE_BIN_OP_DECL (R1, operator -, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, product, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, quotient, M1, M2, API);
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:158
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:158
#define SPARSE_BIN_OP_DECL(R, OP, X, Y, API)

Definition at line 131 of file Sparse-op-decls.h.

◆ SPARSE_MSM_BOOL_OP_DECLS

#define SPARSE_MSM_BOOL_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_BOOL_OP_DECL (mx_el_and, M1, M2, API); \
SPARSE_BOOL_OP_DECL (mx_el_or, M1, M2, API);
#define SPARSE_BOOL_OP_DECL(OP, X, Y, API)
boolMatrix mx_el_or(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:88
boolMatrix mx_el_and(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:88

Definition at line 149 of file Sparse-op-decls.h.

◆ SPARSE_MSM_CMP_OP_DECLS

#define SPARSE_MSM_CMP_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_lt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_le, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ge, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_gt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);
#define SPARSE_CMP_OP_DECL(OP, X, Y, API)
boolMatrix mx_el_le(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91
boolMatrix mx_el_ne(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91
boolMatrix mx_el_gt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91
boolMatrix mx_el_eq(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91
boolMatrix mx_el_lt(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91
boolMatrix mx_el_ge(const boolMatrix &m1, const boolMatrix &m2)
Definition: boolMatrix.cc:91

Definition at line 137 of file Sparse-op-decls.h.

◆ SPARSE_MSM_EQNE_OP_DECLS

#define SPARSE_MSM_EQNE_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);

Definition at line 145 of file Sparse-op-decls.h.

◆ SPARSE_MSM_OP_DECLS

#define SPARSE_MSM_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_MSM_BIN_OP_DECLS (R1, R2, M1, M2, API) \
SPARSE_MSM_CMP_OP_DECLS (M1, M2, API) \
SPARSE_MSM_BOOL_OP_DECLS (M1, M2, API)
#define SPARSE_MSM_BIN_OP_DECLS(R1, R2, M1, M2, API)

Definition at line 153 of file Sparse-op-decls.h.

◆ SPARSE_SMM_BIN_OP_DECLS

#define SPARSE_SMM_BIN_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_BIN_OP_DECL (R1, operator +, M1, M2, API); \
SPARSE_BIN_OP_DECL (R1, operator -, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, product, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, quotient, M1, M2, API);

Definition at line 160 of file Sparse-op-decls.h.

◆ SPARSE_SMM_BOOL_OP_DECLS

#define SPARSE_SMM_BOOL_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_BOOL_OP_DECL (mx_el_and, M1, M2, API); \
SPARSE_BOOL_OP_DECL (mx_el_or, M1, M2, API);

Definition at line 178 of file Sparse-op-decls.h.

◆ SPARSE_SMM_CMP_OP_DECLS

#define SPARSE_SMM_CMP_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_lt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_le, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ge, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_gt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);

Definition at line 166 of file Sparse-op-decls.h.

◆ SPARSE_SMM_EQNE_OP_DECLS

#define SPARSE_SMM_EQNE_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);

Definition at line 174 of file Sparse-op-decls.h.

◆ SPARSE_SMM_OP_DECLS

#define SPARSE_SMM_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_SMM_BIN_OP_DECLS (R1, R2, M1, M2, API) \
SPARSE_SMM_CMP_OP_DECLS (M1, M2, API) \
SPARSE_SMM_BOOL_OP_DECLS (M1, M2, API)
#define SPARSE_SMM_BIN_OP_DECLS(R1, R2, M1, M2, API)

Definition at line 182 of file Sparse-op-decls.h.

◆ SPARSE_SMS_BIN_OP_DECLS

#define SPARSE_SMS_BIN_OP_DECLS (   R1,
  R2,
  M,
  S,
  API 
)
Value:
SPARSE_BIN_OP_DECL (R1, operator +, M, S, API); \
SPARSE_BIN_OP_DECL (R1, operator -, M, S, API); \
SPARSE_BIN_OP_DECL (R2, operator *, M, S, API); \
SPARSE_BIN_OP_DECL (R2, operator /, M, S, API);
F77_RET_T const F77_INT const F77_INT const F77_INT const F77_DBLE const F77_DBLE F77_INT & M

Definition at line 44 of file Sparse-op-decls.h.

◆ SPARSE_SMS_BOOL_OP_DECLS

#define SPARSE_SMS_BOOL_OP_DECLS (   M,
  S,
  API 
)
Value:
SPARSE_BOOL_OP_DECL (mx_el_or, M, S, API);

Definition at line 62 of file Sparse-op-decls.h.

◆ SPARSE_SMS_CMP_OP_DECLS

#define SPARSE_SMS_CMP_OP_DECLS (   M,
  S,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_le, M, S, API); \
SPARSE_CMP_OP_DECL (mx_el_ge, M, S, API); \
SPARSE_CMP_OP_DECL (mx_el_gt, M, S, API); \
SPARSE_CMP_OP_DECL (mx_el_eq, M, S, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M, S, API);

Definition at line 50 of file Sparse-op-decls.h.

◆ SPARSE_SMS_EQNE_OP_DECLS

#define SPARSE_SMS_EQNE_OP_DECLS (   M,
  S,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_ne, M, S, API);

Definition at line 58 of file Sparse-op-decls.h.

◆ SPARSE_SMS_OP_DECLS

#define SPARSE_SMS_OP_DECLS (   R1,
  R2,
  M,
  S,
  API 
)
Value:
SPARSE_SMS_BIN_OP_DECLS (R1, R2, M, S, API) \
SPARSE_SMS_CMP_OP_DECLS (M, S, API) \
SPARSE_SMS_BOOL_OP_DECLS (M, S, API)
#define SPARSE_SMS_BIN_OP_DECLS(R1, R2, M, S, API)

Definition at line 66 of file Sparse-op-decls.h.

◆ SPARSE_SMSM_BIN_OP_DECLS

#define SPARSE_SMSM_BIN_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_BIN_OP_DECL (R1, operator +, M1, M2, API); \
SPARSE_BIN_OP_DECL (R1, operator -, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, product, M1, M2, API); \
SPARSE_BIN_OP_DECL (R2, quotient, M1, M2, API);

Definition at line 102 of file Sparse-op-decls.h.

◆ SPARSE_SMSM_BOOL_OP_DECLS

#define SPARSE_SMSM_BOOL_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_BOOL_OP_DECL (mx_el_and, M1, M2, API); \
SPARSE_BOOL_OP_DECL (mx_el_or, M1, M2, API);

Definition at line 120 of file Sparse-op-decls.h.

◆ SPARSE_SMSM_CMP_OP_DECLS

#define SPARSE_SMSM_CMP_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_lt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_le, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ge, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_gt, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);

Definition at line 108 of file Sparse-op-decls.h.

◆ SPARSE_SMSM_EQNE_OP_DECLS

#define SPARSE_SMSM_EQNE_OP_DECLS (   M1,
  M2,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_eq, M1, M2, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, M1, M2, API);

Definition at line 116 of file Sparse-op-decls.h.

◆ SPARSE_SMSM_OP_DECLS

#define SPARSE_SMSM_OP_DECLS (   R1,
  R2,
  M1,
  M2,
  API 
)
Value:
SPARSE_SMSM_BIN_OP_DECLS (R1, R2, M1, M2, API) \
SPARSE_SMSM_CMP_OP_DECLS (M1, M2, API) \
SPARSE_SMSM_BOOL_OP_DECLS (M1, M2, API)
#define SPARSE_SMSM_BIN_OP_DECLS(R1, R2, M1, M2, API)

Definition at line 124 of file Sparse-op-decls.h.

◆ SPARSE_SSM_BIN_OP_DECLS

#define SPARSE_SSM_BIN_OP_DECLS (   R1,
  R2,
  S,
  M,
  API 
)
Value:
SPARSE_BIN_OP_DECL (R1, operator +, S, M, API); \
SPARSE_BIN_OP_DECL (R1, operator -, S, M, API); \
SPARSE_BIN_OP_DECL (R2, operator *, S, M, API); \
SPARSE_BIN_OP_DECL (R2, operator /, S, M, API);

Definition at line 73 of file Sparse-op-decls.h.

◆ SPARSE_SSM_BOOL_OP_DECLS

#define SPARSE_SSM_BOOL_OP_DECLS (   S,
  M,
  API 
)
Value:
SPARSE_BOOL_OP_DECL (mx_el_or, S, M, API); \

Definition at line 91 of file Sparse-op-decls.h.

◆ SPARSE_SSM_CMP_OP_DECLS

#define SPARSE_SSM_CMP_OP_DECLS (   S,
  M,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_le, S, M, API); \
SPARSE_CMP_OP_DECL (mx_el_ge, S, M, API); \
SPARSE_CMP_OP_DECL (mx_el_gt, S, M, API); \
SPARSE_CMP_OP_DECL (mx_el_eq, S, M, API); \
SPARSE_CMP_OP_DECL (mx_el_ne, S, M, API);

Definition at line 79 of file Sparse-op-decls.h.

◆ SPARSE_SSM_EQNE_OP_DECLS

#define SPARSE_SSM_EQNE_OP_DECLS (   S,
  M,
  API 
)
Value:
SPARSE_CMP_OP_DECL (mx_el_ne, S, M, API);

Definition at line 87 of file Sparse-op-decls.h.

◆ SPARSE_SSM_OP_DECLS

#define SPARSE_SSM_OP_DECLS (   R1,
  R2,
  S,
  M,
  API 
)
Value:
SPARSE_SSM_BIN_OP_DECLS (R1, R2, S, M, API) \
SPARSE_SSM_CMP_OP_DECLS (S, M, API) \
SPARSE_SSM_BOOL_OP_DECLS (S, M, API) \
#define SPARSE_SSM_BIN_OP_DECLS(R1, R2, S, M, API)

Definition at line 95 of file Sparse-op-decls.h.