GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros
MSparse-defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INSTANTIATE_SPARSE_FRIENDS(T, API)
 
#define SPARSE_AA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
 
#define SPARSE_AA_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
 
#define SPARSE_BINOP_DECL(A_T, E_T, F, PFX, API, LTGT, X_T, Y_T)
 
#define SPARSE_BINOP_DECLS(A_T, F_T, E_T, PFX, API, LTGT, X_T, Y_T)
 
#define SPARSE_BINOP_DEFS(A_T, F_T, E_T, API)
 
#define SPARSE_BINOP_FRIENDS(A_T, F_T, API)
 
#define SPARSE_BINOP_FWD_DECLS(A_T, F_T, API)
 
#define SPARSE_BINOP_FWD_DEFS(R, F, T, C_X, X_T, C_Y, Y_T)
 
#define SPARSE_BINOP_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
 
#define SPARSE_FORWARD_DEFS(B, R, F, T)
 
#define SPARSE_OP_ASSIGN_DECL(A_T, E_T, OP, PFX, API, LTGT, RHS_T)
 
#define SPARSE_OP_ASSIGN_DECLS(A_T, E_T, PFX, API, LTGT, RHS_T)
 
#define SPARSE_OP_ASSIGN_DEFS(A_T, E_T, RHS_T, API)   SPARSE_OP_ASSIGN_DECLS (A_T, E_T, template, API, , RHS_T)
 
#define SPARSE_OP_ASSIGN_FRIENDS(A_T, RHS_T, API)   SPARSE_OP_ASSIGN_DECLS (A_T, T, friend, API, <>, RHS_T)
 
#define SPARSE_OP_ASSIGN_FWD_DECLS(A_T, RHS_T, API)   SPARSE_OP_ASSIGN_DECLS (A_T, T, template <typename T>, API, , RHS_T)
 
#define SPARSE_OP_ASSIGN_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
 
#define SPARSE_OP_ASSIGN_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
 
#define SPARSE_OPS_FORWARD_DECLS(A_T, F_T, API)
 
#define SPARSE_OPS_FRIEND_DECLS(A_T, F_T, API)
 
#define SPARSE_UNOP(A_T, E_T, F, PFX, API, LTGT)
 
#define SPARSE_UNOP_DECLS(A_T, E_T, PFX, API, LTGT)
 
#define SPARSE_UNOP_DEFS(A_T, E_T, API)   SPARSE_UNOP_DECLS (A_T, E_T, template, API, )
 
#define SPARSE_UNOP_FRIENDS(A_T, API)   SPARSE_UNOP_DECLS (A_T, T, friend, API, <>)
 
#define SPARSE_UNOP_FWD_DECLS(A_T, API)   SPARSE_UNOP_DECLS (A_T, T, template <typename T>, API, )
 
#define SPARSE_UNOP_FWD_DEFS(R, T, C_X, X_T)
 
#define SPARSE_UNOP_FWD_FCN(R, F, T, C_X, X_T)
 

Macro Definition Documentation

#define INSTANTIATE_SPARSE_FRIENDS (   T,
  API 
)
Value:
/* SPARSE_OP_ASSIGN_DEFS (MSparse, T, T) */ \
#define SPARSE_BINOP_DEFS(A_T, F_T, E_T, API)
Definition: MSparse-defs.h:134
Definition: MArray.h:36
#define SPARSE_UNOP_DEFS(A_T, E_T, API)
Definition: MSparse-defs.h:84
#define SPARSE_OP_ASSIGN_DEFS(A_T, E_T, RHS_T, API)
Definition: MSparse-defs.h:48

Definition at line 183 of file MSparse-defs.h.

#define SPARSE_AA_BINOP_DECLS (   A_T,
  E_T,
  PFX,
  API,
  LTGT 
)
Value:
SPARSE_BINOP_DECL (A_T, E_T, operator +, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
SPARSE_BINOP_DECL (A_T, E_T, operator -, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
SPARSE_BINOP_DECL (A_T, E_T, quotient, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
SPARSE_BINOP_DECL (A_T, E_T, product, PFX, API, LTGT, A_T<E_T>, A_T<E_T>);
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
#define SPARSE_BINOP_DECL(A_T, E_T, F, PFX, API, LTGT, X_T, Y_T)
Definition: MSparse-defs.h:102
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149

Definition at line 115 of file MSparse-defs.h.

#define SPARSE_AA_BINOP_FWD_DEFS (   R,
  T,
  C_X,
  X_T,
  C_Y,
  Y_T 
)
Value:
SPARSE_BINOP_FWD_FCN (R, operator +, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (R, operator -, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (R, product, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (R, quotient, T, C_X, X_T, C_Y, Y_T)
ComplexColumnVector product(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
ComplexColumnVector quotient(const ComplexColumnVector &x, const ComplexColumnVector &y)
Definition: CColVector.h:149
#define SPARSE_BINOP_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:141

Definition at line 157 of file MSparse-defs.h.

#define SPARSE_BINOP_DECL (   A_T,
  E_T,
  F,
  PFX,
  API,
  LTGT,
  X_T,
  Y_T 
)
Value:
PFX API A_T<E_T> \
F LTGT (const X_T&, const Y_T&)
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 102 of file MSparse-defs.h.

#define SPARSE_BINOP_DECLS (   A_T,
  F_T,
  E_T,
  PFX,
  API,
  LTGT,
  X_T,
  Y_T 
)
Value:
SPARSE_BINOP_DECL (F_T, E_T, operator +, PFX, API, LTGT, X_T, Y_T); \
SPARSE_BINOP_DECL (F_T, E_T, operator -, PFX, API, LTGT, X_T, Y_T); \
SPARSE_BINOP_DECL (A_T, E_T, operator *, PFX, API, LTGT, X_T, Y_T); \
SPARSE_BINOP_DECL (A_T, E_T, operator /, PFX, API, LTGT, X_T, Y_T);
#define SPARSE_BINOP_DECL(A_T, E_T, F, PFX, API, LTGT, X_T, Y_T)
Definition: MSparse-defs.h:102

Definition at line 109 of file MSparse-defs.h.

#define SPARSE_BINOP_DEFS (   A_T,
  F_T,
  E_T,
  API 
)
Value:
SPARSE_BINOP_DECLS (A_T, F_T, E_T, template, API, , A_T<E_T>, E_T) \
SPARSE_BINOP_DECLS (A_T, F_T, E_T, template, API, , E_T, A_T<E_T>) \
SPARSE_AA_BINOP_DECLS (A_T, E_T, template, API, )
#define SPARSE_BINOP_DECLS(A_T, F_T, E_T, PFX, API, LTGT, X_T, Y_T)
Definition: MSparse-defs.h:109
#define SPARSE_AA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
Definition: MSparse-defs.h:115

Definition at line 134 of file MSparse-defs.h.

#define SPARSE_BINOP_FRIENDS (   A_T,
  F_T,
  API 
)
Value:
SPARSE_BINOP_DECLS (A_T, F_T, T, friend, API, <>, A_T<T>, T) \
SPARSE_BINOP_DECLS (A_T, F_T, T, friend, API, <>, T, A_T<T>) \
SPARSE_AA_BINOP_DECLS (A_T, T, friend, API, <>)
#define SPARSE_BINOP_DECLS(A_T, F_T, E_T, PFX, API, LTGT, X_T, Y_T)
Definition: MSparse-defs.h:109
#define SPARSE_AA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
Definition: MSparse-defs.h:115

Definition at line 128 of file MSparse-defs.h.

#define SPARSE_BINOP_FWD_DECLS (   A_T,
  F_T,
  API 
)
Value:
SPARSE_BINOP_DECLS (A_T, F_T, T, template <typename T>, API, , A_T<T>, T) \
SPARSE_BINOP_DECLS (A_T, F_T, T, template <typename T>, API, , T, A_T<T>) \
SPARSE_AA_BINOP_DECLS (A_T, T, template <typename T>, API, )
#define SPARSE_BINOP_DECLS(A_T, F_T, E_T, PFX, API, LTGT, X_T, Y_T)
Definition: MSparse-defs.h:109
#define SPARSE_AA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
Definition: MSparse-defs.h:115

Definition at line 122 of file MSparse-defs.h.

#define SPARSE_BINOP_FWD_DEFS (   R,
  F,
  T,
  C_X,
  X_T,
  C_Y,
  Y_T 
)
Value:
SPARSE_BINOP_FWD_FCN (F, operator +, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (F, operator -, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (R, operator *, T, C_X, X_T, C_Y, Y_T) \
SPARSE_BINOP_FWD_FCN (R, operator /, T, C_X, X_T, C_Y, Y_T)
#define SPARSE_BINOP_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:141
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 151 of file MSparse-defs.h.

#define SPARSE_BINOP_FWD_FCN (   R,
  F,
  T,
  C_X,
  X_T,
  C_Y,
  Y_T 
)
Value:
inline R \
F (const X_T& x, const Y_T& y) \
{ \
return R (F (C_X (x), C_Y (y))); \
}
F77_RET_T const double * x
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 141 of file MSparse-defs.h.

#define SPARSE_FORWARD_DEFS (   B,
  R,
  F,
 
)
Value:
/* SPARSE_OP_ASSIGN_FWD_DEFS */ \
/* (R, T, dynamic_cast<B<T>&>, R, , T) */ \
\
(R, T, \
dynamic_cast<B<T>&>, R, dynamic_cast<const B<T>&>, R) \
\
(R, T, dynamic_cast<const B<T>&>, R) \
\
(R, F, T, dynamic_cast<const B<T>&>, R, , T) \
\
(R, F, T, , T, dynamic_cast<const B<T>&>, R) \
\
(R, T, dynamic_cast<const B<T>&>, R, dynamic_cast<const B<T>&>, R)
#define SPARSE_UNOP_FWD_DEFS(R, T, C_X, X_T)
Definition: MSparse-defs.h:97
#define SPARSE_BINOP_FWD_DEFS(R, F, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:151
#define SPARSE_OP_ASSIGN_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:61
#define SPARSE_AA_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:157
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 191 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_DECL (   A_T,
  E_T,
  OP,
  PFX,
  API,
  LTGT,
  RHS_T 
)
Value:
PFX API A_T<E_T>& \
operator OP LTGT (A_T<E_T>&, const RHS_T&)

Definition at line 30 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_DECLS (   A_T,
  E_T,
  PFX,
  API,
  LTGT,
  RHS_T 
)
Value:
SPARSE_OP_ASSIGN_DECL (A_T, E_T, +=, PFX, API, LTGT, RHS_T); \
SPARSE_OP_ASSIGN_DECL (A_T, E_T, -=, PFX, API, LTGT, RHS_T);
#define SPARSE_OP_ASSIGN_DECL(A_T, E_T, OP, PFX, API, LTGT, RHS_T)
Definition: MSparse-defs.h:30

Definition at line 35 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_DEFS (   A_T,
  E_T,
  RHS_T,
  API 
)    SPARSE_OP_ASSIGN_DECLS (A_T, E_T, template, API, , RHS_T)

Definition at line 48 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_FRIENDS (   A_T,
  RHS_T,
  API 
)    SPARSE_OP_ASSIGN_DECLS (A_T, T, friend, API, <>, RHS_T)

Definition at line 44 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_FWD_DECLS (   A_T,
  RHS_T,
  API 
)    SPARSE_OP_ASSIGN_DECLS (A_T, T, template <typename T>, API, , RHS_T)

Definition at line 40 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_FWD_DEFS (   R,
  T,
  C_X,
  X_T,
  C_Y,
  Y_T 
)
Value:
SPARSE_OP_ASSIGN_FWD_FCN (R, operator +=, T, C_X, X_T, C_Y, Y_T) \
SPARSE_OP_ASSIGN_FWD_FCN (R, operator -=, T, C_X, X_T, C_Y, Y_T)
#define SPARSE_OP_ASSIGN_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
Definition: MSparse-defs.h:53

Definition at line 61 of file MSparse-defs.h.

#define SPARSE_OP_ASSIGN_FWD_FCN (   R,
  F,
  T,
  C_X,
  X_T,
  C_Y,
  Y_T 
)
Value:
inline R \
F (X_T& x, const Y_T& y) \
{ \
return R (F (C_X (x), C_Y (y))); \
}
F77_RET_T const double * x
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 53 of file MSparse-defs.h.

#define SPARSE_OPS_FORWARD_DECLS (   A_T,
  F_T,
  API 
)
Value:
template <class T> \
class A_T; \
\
/* SPARSE_OP_ASSIGN_FWD_DECLS (A_T, T) */ \
SPARSE_OP_ASSIGN_FWD_DECLS (A_T, A_T<T>, API) \
SPARSE_BINOP_FWD_DECLS (A_T, F_T, API)
#define SPARSE_UNOP_FWD_DECLS(A_T, API)
Definition: MSparse-defs.h:76
#define SPARSE_BINOP_FWD_DECLS(A_T, F_T, API)
Definition: MSparse-defs.h:122
#define SPARSE_OP_ASSIGN_FWD_DECLS(A_T, RHS_T, API)
Definition: MSparse-defs.h:40

Definition at line 164 of file MSparse-defs.h.

#define SPARSE_OPS_FRIEND_DECLS (   A_T,
  F_T,
  API 
)
Value:
/* SPARSE_OP_ASSIGN_FRIENDS (A_T, T) */ \
SPARSE_OP_ASSIGN_FRIENDS (A_T, A_T<T>, API) \
SPARSE_BINOP_FRIENDS (A_T, F_T, API)
#define SPARSE_UNOP_FRIENDS(A_T, API)
Definition: MSparse-defs.h:80
#define SPARSE_BINOP_FRIENDS(A_T, F_T, API)
Definition: MSparse-defs.h:128
#define SPARSE_OP_ASSIGN_FRIENDS(A_T, RHS_T, API)
Definition: MSparse-defs.h:44

Definition at line 174 of file MSparse-defs.h.

#define SPARSE_UNOP (   A_T,
  E_T,
  F,
  PFX,
  API,
  LTGT 
)
Value:
PFX API A_T<E_T> \
F LTGT (const A_T<E_T>&)
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 66 of file MSparse-defs.h.

#define SPARSE_UNOP_DECLS (   A_T,
  E_T,
  PFX,
  API,
  LTGT 
)
Value:
SPARSE_UNOP (A_T, E_T, operator +, PFX, API, LTGT); \
SPARSE_UNOP (A_T, E_T, operator -, PFX, API, LTGT);
#define SPARSE_UNOP(A_T, E_T, F, PFX, API, LTGT)
Definition: MSparse-defs.h:66

Definition at line 71 of file MSparse-defs.h.

#define SPARSE_UNOP_DEFS (   A_T,
  E_T,
  API 
)    SPARSE_UNOP_DECLS (A_T, E_T, template, API, )

Definition at line 84 of file MSparse-defs.h.

#define SPARSE_UNOP_FRIENDS (   A_T,
  API 
)    SPARSE_UNOP_DECLS (A_T, T, friend, API, <>)

Definition at line 80 of file MSparse-defs.h.

#define SPARSE_UNOP_FWD_DECLS (   A_T,
  API 
)    SPARSE_UNOP_DECLS (A_T, T, template <typename T>, API, )

Definition at line 76 of file MSparse-defs.h.

#define SPARSE_UNOP_FWD_DEFS (   R,
  T,
  C_X,
  X_T 
)
Value:
SPARSE_UNOP_FWD_FCN (R, operator +, T, C_X, X_T) \
SPARSE_UNOP_FWD_FCN (R, operator -, T, C_X, X_T)
#define SPARSE_UNOP_FWD_FCN(R, F, T, C_X, X_T)
Definition: MSparse-defs.h:89

Definition at line 97 of file MSparse-defs.h.

#define SPARSE_UNOP_FWD_FCN (   R,
  F,
  T,
  C_X,
  X_T 
)
Value:
inline R \
F (const X_T& x) \
{ \
return R (F (C_X (x))); \
}
F77_RET_T const double * x
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:527

Definition at line 89 of file MSparse-defs.h.