Go to the source code of this file.
Defines | |
#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) |
#define INSTANTIATE_SPARSE_FRIENDS | ( | T, | ||
API | ||||
) |
/* SPARSE_OP_ASSIGN_DEFS (MSparse, T, T) */ \ SPARSE_OP_ASSIGN_DEFS (MSparse, T, MSparse<T>, API) \ SPARSE_UNOP_DEFS (MSparse, T, API) \ SPARSE_BINOP_DEFS (MSparse, MArray, T, API)
Definition at line 183 of file MSparse-defs.h.
#define SPARSE_AA_BINOP_DECLS | ( | A_T, | ||
E_T, | ||||
PFX, | ||||
API, | ||||
LTGT | ||||
) |
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>);
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 | ||||
) |
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)
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 | ||||
) |
PFX API A_T<E_T> \ F LTGT (const X_T&, const Y_T&)
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 | ||||
) |
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);
Definition at line 109 of file MSparse-defs.h.
#define SPARSE_BINOP_DEFS | ( | A_T, | ||
F_T, | ||||
E_T, | ||||
API | ||||
) |
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, )
Definition at line 134 of file MSparse-defs.h.
#define SPARSE_BINOP_FRIENDS | ( | A_T, | ||
F_T, | ||||
API | ||||
) |
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, <>)
Definition at line 128 of file MSparse-defs.h.
#define SPARSE_BINOP_FWD_DECLS | ( | A_T, | ||
F_T, | ||||
API | ||||
) |
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, )
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 | ||||
) |
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)
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 | ||||
) |
Definition at line 141 of file MSparse-defs.h.
#define SPARSE_FORWARD_DEFS | ( | B, | ||
R, | ||||
F, | ||||
T | ||||
) |
/* SPARSE_OP_ASSIGN_FWD_DEFS */ \ /* (R, T, dynamic_cast<B<T>&>, R, , T) */ \ \ SPARSE_OP_ASSIGN_FWD_DEFS \ (R, T, \ dynamic_cast<B<T>&>, R, dynamic_cast<const B<T>&>, R) \ \ SPARSE_UNOP_FWD_DEFS \ (R, T, dynamic_cast<const B<T>&>, R) \ \ SPARSE_BINOP_FWD_DEFS \ (R, F, T, dynamic_cast<const B<T>&>, R, , T) \ \ SPARSE_BINOP_FWD_DEFS \ (R, F, T, , T, dynamic_cast<const B<T>&>, R) \ \ SPARSE_AA_BINOP_FWD_DEFS \ (R, T, dynamic_cast<const B<T>&>, R, dynamic_cast<const B<T>&>, R)
Definition at line 191 of file MSparse-defs.h.
#define SPARSE_OP_ASSIGN_DECL | ( | A_T, | ||
E_T, | ||||
OP, | ||||
PFX, | ||||
API, | ||||
LTGT, | ||||
RHS_T | ||||
) |
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 | ||||
) |
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);
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 | ||||
) |
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)
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 | ||||
) |
Definition at line 53 of file MSparse-defs.h.
#define SPARSE_OPS_FORWARD_DECLS | ( | A_T, | ||
F_T, | ||||
API | ||||
) |
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_UNOP_FWD_DECLS (A_T, API) \ SPARSE_BINOP_FWD_DECLS (A_T, F_T, API)
Definition at line 164 of file MSparse-defs.h.
#define SPARSE_OPS_FRIEND_DECLS | ( | A_T, | ||
F_T, | ||||
API | ||||
) |
/* SPARSE_OP_ASSIGN_FRIENDS (A_T, T) */ \ SPARSE_OP_ASSIGN_FRIENDS (A_T, A_T<T>, API) \ SPARSE_UNOP_FRIENDS (A_T, API) \ SPARSE_BINOP_FRIENDS (A_T, F_T, API)
Definition at line 174 of file MSparse-defs.h.
#define SPARSE_UNOP | ( | A_T, | ||
E_T, | ||||
F, | ||||
PFX, | ||||
API, | ||||
LTGT | ||||
) |
PFX API A_T<E_T> \
F LTGT (const A_T<E_T>&)
Definition at line 66 of file MSparse-defs.h.
#define SPARSE_UNOP_DECLS | ( | A_T, | ||
E_T, | ||||
PFX, | ||||
API, | ||||
LTGT | ||||
) |
SPARSE_UNOP (A_T, E_T, operator +, PFX, API, LTGT); \ SPARSE_UNOP (A_T, E_T, operator -, PFX, API, LTGT);
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 | ||||
) |
SPARSE_UNOP_FWD_FCN (R, operator +, T, C_X, X_T) \ SPARSE_UNOP_FWD_FCN (R, operator -, T, C_X, X_T)
Definition at line 97 of file MSparse-defs.h.
#define SPARSE_UNOP_FWD_FCN | ( | R, | ||
F, | ||||
T, | ||||
C_X, | ||||
X_T | ||||
) |
Definition at line 89 of file MSparse-defs.h.