File expr.hxx¶
Defines
-
DEFINE_BINARY_OP
(name, op)¶ Binary operator classes.
-
DEFINE_OVERLOAD_FUNC
(name, func)¶ Define functions add, mul which use operator structs.
Functions
-
template<typename
ExprT1
, typenameExprT2
>
BinaryResult<ExprT1, ExprT2, Add>::typeadd
(const ExprT1 &e1, const ExprT2 &e2)¶ Addition of two Expressions.
-
class
Field3DExpr
¶ -
Public Functions
-
class
Field2DExpr
¶ -
Public Functions
-
template<class
ExprT
>
structexprTraits
¶ - #include <expr.hxx>
Expression traits, to convert doubles etc. to Literal.
Public Types
-
template<>
usingexpr_type
= ExprT¶
-
template<>
-
template<>
structexprTraits
<double>¶
-
template<>
structexprTraits
<float>¶
-
template<>
structexprTraits
<int>¶
-
template<typename
T
>
structasExpr
¶ Public Types
-
template<>
usingtype
= T¶
Public Static Functions
-
static const T &
getExpr
(const T &x)¶
-
template<>
-
template<>
structasExpr
<int>¶
-
template<>
structasExpr
<double>¶
-
template<>
structasExpr
<float>¶
-
template<>
structasExpr
<Field3D>¶ Public Types
-
template<>
usingtype
= Field3DExpr¶
Public Static Functions
-
static const Field3DExpr
getExpr
(const Field3D &x)¶
-
template<>
-
template<typename
Lhs
, typenameRhs
>
structPromoteType
¶
-
template<class
ExprT1
, classExprT2
, classBinOp
>
classBinaryExpr
¶ Public Types
-
template<>
usingltype
= typename exprTraits<ExprT1>::expr_type¶
-
template<>
usingrtype
= typename exprTraits<ExprT2>::expr_type¶
-
template<>
usingtype
= typename PromoteType::type¶ Type of the resulting expression.
Public Functions
-
BinaryExpr
(const ExprT1 &e1, const ExprT2 &e2)¶
-
template<>
-
template<typename
ExprT1
, typenameExprT2
, classname
>
structBinaryResult
¶
-
struct
Add
¶
-
struct
Subtract
¶
-
struct
Multiply
¶
-
struct
Divide
¶
-
struct
Power
¶