Navigation

Operators and Keywords

Function List:

C++ API

MArray-decl.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define octave_MArray_decl_h   1
#define MARRAY_OP_ASSIGN_DECL(A_T, E_T, OP, PFX, API, LTGT, RHS_T)
#define MARRAY_OP_ASSIGN_DECLX(A_T, E_T, OP, PFX, API, LTGT, RHS_T)
#define MARRAY_OP_ASSIGN_DECLS(A_T, E_T, PFX, API, LTGT, RHS_T)
#define MARRAY_OP_ASSIGN_DECLS1(A_T, E_T, PFX, API, LTGT, RHS_T)
#define MARRAY_OP_ASSIGN_FWD_DECLS(A_T, RHS_T, API)   MARRAY_OP_ASSIGN_DECLS (A_T, T, template <typename T>, API, , RHS_T)
#define MARRAY_OP_ASSIGN_FWD_DECLS1(A_T, RHS_T, API)   MARRAY_OP_ASSIGN_DECLS1 (A_T, T, template <typename T>, API, , RHS_T)
#define MARRAY_OP_ASSIGN_FRIENDS(A_T, RHS_T, API)   MARRAY_OP_ASSIGN_DECLS (A_T, T, friend, API, <>, RHS_T)
#define MARRAY_OP_ASSIGN_FRIENDS1(A_T, RHS_T, API)   MARRAY_OP_ASSIGN_DECLS1 (A_T, T, friend, API, <>, RHS_T)
#define MARRAY_OP_ASSIGN_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_OP_ASSIGN_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_OP_ASSIGN_FWD_DEFS1(R, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_UNOP(A_T, E_T, F, PFX, API, LTGT)
#define MARRAY_UNOP_DECLS(A_T, E_T, PFX, API, LTGT)
#define MARRAY_UNOP_FWD_DECLS(A_T, API)   MARRAY_UNOP_DECLS (A_T, T, template <typename T>, API, )
#define MARRAY_UNOP_FRIENDS(A_T, API)   MARRAY_UNOP_DECLS (A_T, T, friend, API, <>)
#define MARRAY_UNOP_FWD_FCN(R, F, T, C_X, X_T)
#define MARRAY_UNOP_FWD_DEFS(R, T, C_X, X_T)
#define MARRAY_BINOP_DECL(A_T, E_T, F, PFX, API, LTGT, X_T, Y_T)
#define MARRAY_BINOP_DECLS(A_T, E_T, PFX, API, LTGT, X_T, Y_T)
#define MARRAY_AA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
#define MDIAGARRAY2_DAS_BINOP_DECLS(A_T, E_T, PFX, API, LTGT, X_T, Y_T)
#define MDIAGARRAY2_SDA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT, X_T, Y_T)   MARRAY_BINOP_DECL (A_T, E_T, operator *, PFX, API, LTGT, X_T, Y_T);
#define MDIAGARRAY2_DADA_BINOP_DECLS(A_T, E_T, PFX, API, LTGT)
#define MARRAY_BINOP_FWD_DECLS(A_T, API)
#define MDIAGARRAY2_BINOP_FWD_DECLS(A_T, API)
#define MARRAY_BINOP_FRIENDS(A_T, API)
#define MDIAGARRAY2_BINOP_FRIENDS(A_T, API)
#define MARRAY_BINOP_FWD_FCN(R, F, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_AA_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
#define MDIAGARRAY2_DAS_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
#define MDIAGARRAY2_SDA_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)   MARRAY_BINOP_FWD_FCN (R, operator *, T, C_X, X_T, C_Y, Y_T)
#define MDIAGARRAY2_DADA_BINOP_FWD_DEFS(R, T, C_X, X_T, C_Y, Y_T)
#define MARRAY_OPS_FORWARD_DECLS(A_T, API)
#define MDIAGARRAY2_OPS_FORWARD_DECLS(A_T, API)
#define MARRAY_OPS_FRIEND_DECLS(A_T, API)
#define MDIAGARRAY2_OPS_FRIEND_DECLS(A_T, API)
#define MARRAY_FORWARD_DEFS(B, R, T)
#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)

Define Documentation

#define MARRAY_AA_BINOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT   ) 

Value:

MARRAY_BINOP_DECL (A_T, E_T, operator +, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
  MARRAY_BINOP_DECL (A_T, E_T, operator -, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
  MARRAY_BINOP_DECL (A_T, E_T, quotient,   PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
  MARRAY_BINOP_DECL (A_T, E_T, product,    PFX, API, LTGT, A_T<E_T>, A_T<E_T>);

#define MARRAY_AA_BINOP_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_BINOP_FWD_FCN (R, operator +, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator -, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, product,    T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, quotient,   T, C_X, X_T, C_Y, Y_T)

#define MARRAY_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&)

#define MARRAY_BINOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT,
X_T,
Y_T   ) 

Value:

MARRAY_BINOP_DECL (A_T, E_T, operator +, PFX, API, LTGT, X_T, Y_T); \
  MARRAY_BINOP_DECL (A_T, E_T, operator -, PFX, API, LTGT, X_T, Y_T); \
  MARRAY_BINOP_DECL (A_T, E_T, operator *, PFX, API, LTGT, X_T, Y_T); \
  MARRAY_BINOP_DECL (A_T, E_T, operator /, PFX, API, LTGT, X_T, Y_T);

#define MARRAY_BINOP_FRIENDS ( A_T,
API   ) 

Value:

MARRAY_BINOP_DECLS (A_T, T, friend, API, <>, A_T<T>, T) \
  MARRAY_BINOP_DECLS (A_T, T, friend, API, <>, T, A_T<T>) \
  MARRAY_AA_BINOP_DECLS (A_T, T, friend, API, <>)

#define MARRAY_BINOP_FWD_DECLS ( A_T,
API   ) 

Value:

MARRAY_BINOP_DECLS (A_T, T, template <typename T>, API, , A_T<T>, T) \
  MARRAY_BINOP_DECLS (A_T, T, template <typename T>, API, , T, A_T<T>) \
  MARRAY_AA_BINOP_DECLS (A_T, T, template <typename T>, API, )

#define MARRAY_BINOP_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_BINOP_FWD_FCN (R, operator +, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator -, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator *, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator /, T, C_X, X_T, C_Y, Y_T)

#define MARRAY_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))); \
  }

#define MARRAY_FORWARD_DEFS ( B,
R,
T   ) 

Value:

MARRAY_OP_ASSIGN_FWD_DEFS1 \
    (R, T, dynamic_cast<B<T>&>, R, , T) \
 \
  MARRAY_OP_ASSIGN_FWD_DEFS \
    (R, T, \
     dynamic_cast<B<T>&>, R, dynamic_cast<const B<T>&>, R) \
 \
  MARRAY_UNOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R) \
 \
  MARRAY_BINOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R, , T) \
 \
  MARRAY_BINOP_FWD_DEFS \
    (R, T, , T, dynamic_cast<const B<T>&>, R) \
 \
  MARRAY_AA_BINOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R, dynamic_cast<const B<T>&>, R)

#define MARRAY_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&)

#define MARRAY_OP_ASSIGN_DECLS ( A_T,
E_T,
PFX,
API,
LTGT,
RHS_T   ) 

Value:

MARRAY_OP_ASSIGN_DECL (A_T, E_T, +=, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECL (A_T, E_T, -=, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECLX (A_T, E_T, product_eq, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECLX (A_T, E_T, quotient_eq, PFX, API, LTGT, RHS_T);

#define MARRAY_OP_ASSIGN_DECLS1 ( A_T,
E_T,
PFX,
API,
LTGT,
RHS_T   ) 

Value:

MARRAY_OP_ASSIGN_DECL (A_T, E_T, +=, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECL (A_T, E_T, -=, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECL (A_T, E_T, *=, PFX, API, LTGT, RHS_T); \
  MARRAY_OP_ASSIGN_DECL (A_T, E_T, /=, PFX, API, LTGT, RHS_T);

#define MARRAY_OP_ASSIGN_DECLX ( A_T,
E_T,
OP,
PFX,
API,
LTGT,
RHS_T   ) 

Value:

PFX API A_T<E_T>& \
  OP LTGT (A_T<E_T>&, const RHS_T&)

#define MARRAY_OP_ASSIGN_FRIENDS ( A_T,
RHS_T,
API   )     MARRAY_OP_ASSIGN_DECLS (A_T, T, friend, API, <>, RHS_T)

#define MARRAY_OP_ASSIGN_FRIENDS1 ( A_T,
RHS_T,
API   )     MARRAY_OP_ASSIGN_DECLS1 (A_T, T, friend, API, <>, RHS_T)

#define MARRAY_OP_ASSIGN_FWD_DECLS ( A_T,
RHS_T,
API   )     MARRAY_OP_ASSIGN_DECLS (A_T, T, template <typename T>, API, , RHS_T)

#define MARRAY_OP_ASSIGN_FWD_DECLS1 ( A_T,
RHS_T,
API   )     MARRAY_OP_ASSIGN_DECLS1 (A_T, T, template <typename T>, API, , RHS_T)

#define MARRAY_OP_ASSIGN_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_OP_ASSIGN_FWD_FCN (R, operator +=, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, operator -=, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, product_eq, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, quotient_eq, T, C_X, X_T, C_Y, Y_T)

#define MARRAY_OP_ASSIGN_FWD_DEFS1 ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_OP_ASSIGN_FWD_FCN (R, operator +=, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, operator -=, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, operator *=, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_OP_ASSIGN_FWD_FCN (R, operator /=, T, C_X, X_T, C_Y, Y_T)

#define MARRAY_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))); \
  }

#define MARRAY_OPS_FORWARD_DECLS ( A_T,
API   ) 

Value:

template <class T> \
  class A_T; \
 \
  MARRAY_OP_ASSIGN_FWD_DECLS1 (A_T, T, API) \
  MARRAY_OP_ASSIGN_FWD_DECLS (A_T, A_T<T>, API) \
  MARRAY_UNOP_FWD_DECLS (A_T, API) \
  MARRAY_BINOP_FWD_DECLS (A_T, API)

#define MARRAY_OPS_FRIEND_DECLS ( A_T,
API   ) 

Value:

MARRAY_OP_ASSIGN_FRIENDS1 (A_T, T, API) \
  MARRAY_OP_ASSIGN_FRIENDS (A_T, A_T<T>, API) \
  MARRAY_UNOP_FRIENDS (A_T, API) \
  MARRAY_BINOP_FRIENDS (A_T, API)

#define MARRAY_UNOP ( A_T,
E_T,
F,
PFX,
API,
LTGT   ) 

Value:

PFX API A_T<E_T> \
  F LTGT (const A_T<E_T>&)

#define MARRAY_UNOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT   ) 

Value:

MARRAY_UNOP (A_T, E_T, operator +, PFX, API, LTGT); \
  MARRAY_UNOP (A_T, E_T, operator -, PFX, API, LTGT);

#define MARRAY_UNOP_FRIENDS ( A_T,
API   )     MARRAY_UNOP_DECLS (A_T, T, friend, API, <>)

#define MARRAY_UNOP_FWD_DECLS ( A_T,
API   )     MARRAY_UNOP_DECLS (A_T, T, template <typename T>, API, )

#define MARRAY_UNOP_FWD_DEFS ( R,
T,
C_X,
X_T   ) 

Value:

MARRAY_UNOP_FWD_FCN (R, operator +, T, C_X, X_T) \
  MARRAY_UNOP_FWD_FCN (R, operator -, T, C_X, X_T)

#define MARRAY_UNOP_FWD_FCN ( R,
F,
T,
C_X,
X_T   ) 

Value:

inline R \
  F (const X_T& x) \
  { \
    return R (F (C_X (x))); \
  }

#define MDIAGARRAY2_BINOP_FRIENDS ( A_T,
API   ) 

Value:

MDIAGARRAY2_DAS_BINOP_DECLS (A_T, T, friend, API, <>, A_T<T>, T) \
  MDIAGARRAY2_SDA_BINOP_DECLS (A_T, T, friend, API, <>, T, A_T<T>) \
  MDIAGARRAY2_DADA_BINOP_DECLS (A_T, T, friend, API, <>)

#define MDIAGARRAY2_BINOP_FWD_DECLS ( A_T,
API   ) 

Value:

MDIAGARRAY2_DAS_BINOP_DECLS (A_T, T, template <typename T>, API, , A_T<T>, T) \
  MDIAGARRAY2_SDA_BINOP_DECLS (A_T, T, template <typename T>, API, , T, A_T<T>) \
  MDIAGARRAY2_DADA_BINOP_DECLS (A_T, T, template <typename T>, API, )

#define MDIAGARRAY2_DADA_BINOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT   ) 

Value:

MARRAY_BINOP_DECL (A_T, E_T, operator +, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
  MARRAY_BINOP_DECL (A_T, E_T, operator -, PFX, API, LTGT, A_T<E_T>, A_T<E_T>); \
  MARRAY_BINOP_DECL (A_T, E_T, product,    PFX, API, LTGT, A_T<E_T>, A_T<E_T>);

#define MDIAGARRAY2_DADA_BINOP_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_BINOP_FWD_FCN (R, operator +, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator -, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, product,    T, C_X, X_T, C_Y, Y_T)

#define MDIAGARRAY2_DAS_BINOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT,
X_T,
Y_T   ) 

Value:

MARRAY_BINOP_DECL (A_T, E_T, operator *, PFX, API, LTGT, X_T, Y_T); \
  MARRAY_BINOP_DECL (A_T, E_T, operator /, PFX, API, LTGT, X_T, Y_T);

#define MDIAGARRAY2_DAS_BINOP_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   ) 

Value:

MARRAY_BINOP_FWD_FCN (R, operator *, T, C_X, X_T, C_Y, Y_T) \
  MARRAY_BINOP_FWD_FCN (R, operator /, T, C_X, X_T, C_Y, Y_T)

#define MDIAGARRAY2_FORWARD_DEFS ( B,
R,
T   ) 

Value:

MARRAY_UNOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R) \
 \
  MDIAGARRAY2_DAS_BINOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R, , T) \
 \
  MDIAGARRAY2_SDA_BINOP_FWD_DEFS \
    (R, T, , T, dynamic_cast<const B<T>&>, R) \
 \
  MDIAGARRAY2_DADA_BINOP_FWD_DEFS \
    (R, T, dynamic_cast<const B<T>&>, R, dynamic_cast<const B<T>&>, R)

#define MDIAGARRAY2_OPS_FORWARD_DECLS ( A_T,
API   ) 

Value:

template <class T> \
  class A_T; \
 \
  MARRAY_UNOP_FWD_DECLS (A_T, API) \
  MDIAGARRAY2_BINOP_FWD_DECLS (A_T, API)

#define MDIAGARRAY2_OPS_FRIEND_DECLS ( A_T,
API   ) 

Value:

MARRAY_OP_ASSIGN_FRIENDS (A_T, A_T<T>, API) \
  MARRAY_UNOP_FRIENDS (A_T, API) \
  MDIAGARRAY2_BINOP_FRIENDS (A_T, API)

#define MDIAGARRAY2_SDA_BINOP_DECLS ( A_T,
E_T,
PFX,
API,
LTGT,
X_T,
Y_T   )     MARRAY_BINOP_DECL (A_T, E_T, operator *, PFX, API, LTGT, X_T, Y_T);

#define MDIAGARRAY2_SDA_BINOP_FWD_DEFS ( R,
T,
C_X,
X_T,
C_Y,
Y_T   )     MARRAY_BINOP_FWD_FCN (R, operator *, T, C_X, X_T, C_Y, Y_T)

#define octave_MArray_decl_h   1