|
Classes |
class | PETE_Expr< WrappedExpr > |
class | PETE_Scalar< T > |
struct | EvalFunctor_0 |
struct | PETE_Increment |
struct | PETE_CountElems |
struct | PETE_TUTree< Value_t, Child_t > |
struct | PETE_TBTree< Value_t, Left_t, Right_t > |
class | PETE_TTTree< Value_t, Left_t, Middle_t, Right_t > |
struct | PETE_Combiner< T, Op > |
struct | AssertEquals |
struct | PETE_NullCombiner |
struct | struct_for_each< Op, T1, T2, Functor > |
struct | ConditionalAssign< T > |
struct | struct_for_each< OpWhere, T1, T2, Functor > |
struct | SafeCombine< I1, I2 > |
struct | SafeCombine< 0, 0 > |
struct | SafeCombine< 1, 0 > |
struct | SafeCombine< 0, 1 > |
struct | SafeCombine< 1, 1 > |
struct | SafeExpression< Expr > |
struct | SafeExpression< PETE_TUTree< Op, Sub > > |
struct | SafeExpression< PETE_TBTree< Op, Left, Right > > |
struct | SafeExpression< PETE_TTTree< Op, Left, Middle, Right > > |
struct | SafeExpression< PETE_TBTree< OpDivide, Left, Right > > |
struct | TrinaryForEach< Safe, T1, T2, T3, Op, Functor > |
struct | TrinaryForEach< 0, T1, T2, T3, OpWhere, Functor > |
struct | Expressionize< PETE_Expr< T > > |
Defines |
#define | PETE_USER_REDUCTION_CODE |
#define | PETE_DefineUnary(Fun, Expr, Op) |
#define | PETE_DefineBinary(Fun, Expr, Op) |
#define | PETE_DefineBinarySynonym(Fun, Op) |
#define | PETE_DefineBinaryWithScalars(Fun, Op, Sca) |
#define | PETE_DefineTrinary(Fun, Expr, Op) |
#define | PETE_DefineTrinaryWithScalars(Fun, Op, Sca) |
#define | PETE_DefineScalar(Sca) |
#define | PETE_DefineAssign(Expr, Cond, Op) |
#define | UNARY_FUNCTION(RET, FUNC, ARG) |
#define | BINARY_FUNCTION(RET, FUNC, ARG1, ARG2) |
Typedefs |
typedef PETE_Combiner< bool,
OpAnd > | PETE_AndCombiner |
typedef PETE_Combiner< bool,
OpOr > | PETE_OrCombiner |
typedef PETE_Combiner< int,
OpAdd > | PETE_SumCombiner |
Functions |
template<class T> |
T | for_each (const PETE_Scalar< T > &p, EvalFunctor_0) |
template<class T, class C> |
int | for_each (PETE_Scalar< T > &, PETE_Increment, C) |
template<class T, class C> |
int | for_each (const PETE_Scalar< T > &, PETE_CountElems, C) |
template<class Op, class T1, class Functor, class Combiner> |
Functor::PETE_Return_t | for_each (PETE_TUTree< Op, T1 > &node, Functor f, Combiner c) |
template<class Op, class T1, class T2, class Functor, class Combiner> |
Functor::PETE_Return_t | for_each (PETE_TBTree< Op, T1, T2 > &node, Functor f, Combiner c) |
template<class Op, class T1, class T2, class T3, class Functor, class Combiner> |
Functor::PETE_Return_t | for_each (PETE_TTTree< Op, T1, T2, T3 > &node, Functor f, Combiner c) |
template<class Op, class T1, class Functor> |
PETEUnaryReturn< typename
T1::PETE_Return_t, Op >::type | for_each (PETE_TUTree< Op, T1 > &node, Functor f) |
template<class Op, class T1, class T2, class Functor> |
struct_for_each< Op, T1, T2,
Functor >::Return_t | for_each (PETE_TBTree< Op, T1, T2 > &node, Functor f) |
template<class T1, class T2, class T3, class Functor, class Op> |
PETETrinaryReturn< typename
T1::PETE_Return_t, typename
T2::PETE_Return_t, typename
T3::PETE_Return_t, Op >::type | for_each (PETE_TTTree< Op, T1, T2, T3 > &node, Functor f) |
template<class R, class T, class InitOp, class AccOp> |
void | Reduction (R &ret, const PETE_Expr< T > &const_expr, InitOp init_op, AccOp acc_op) |
| PETE_DefineUnary (operator-,(-a), OpUnaryMinus) PETE_DefineUnary(operator+ |
OpUnaryPlus | PETE_DefineUnary (operator~,(~a), OpBitwiseNot) PETE_DefineUnary(operator! |
OpUnaryPlus OpNot | PETE_DefineUnary (PETE_identity,(a), OpIdentity) PETE_DefineUnary(acos |
OpUnaryPlus OpNot | acos (a)) |
OpUnaryPlus OpNot FnArcCos | PETE_DefineUnary (asin,(asin(a)), FnArcSin) PETE_DefineUnary(atan |
OpUnaryPlus OpNot FnArcCos | atan (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan | PETE_DefineUnary (ceil,(ceil(a)), FnCeil) PETE_DefineUnary(cos |
OpUnaryPlus OpNot FnArcCos
FnArcTan | cos (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos | PETE_DefineUnary (cosh,(cosh(a)), FnHypCos) PETE_DefineUnary(exp |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos | exp (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp | PETE_DefineUnary (fabs,(fabs(a)), FnFabs) PETE_DefineUnary(floor |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp | floor (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor | PETE_DefineUnary (log,(log(a)), FnLog) PETE_DefineUnary(log10 |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor | log10 (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 | PETE_DefineUnary (sin,(sin(a)), FnSin) PETE_DefineUnary(sinh |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 | sinh (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 FnHypSin | PETE_DefineUnary (sqrt,(sqrt(a)), FnSqrt) PETE_DefineUnary(tan |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 FnHypSin | tan (a)) |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 FnHypSin FnTan | PETE_DefineUnary (tanh,(tanh(a)), FnHypTan) template< class T1 |
OpUnaryPlus OpNot FnArcCos
FnArcTan FnCos FnExp FnFloor
FnLog10 FnHypSin FnTan class
T2 inline T1 | PETE_apply (OpCast< T1 >, const T2 &a) |
template<class T1, class Expr> |
PETE_TUTree< OpCast< T1 >,
typename Expr::PETE_Expr_t > | pete_cast (const T1 &, const PETE_Expr< Expr > &l) |
| PETE_DefineBinary (operator+,(a+b), OpAdd) PETE_DefineBinary(operator- |
a OpSubtract | PETE_DefineBinary (operator *,(a *b), OpMultipply) PETE_DefineBinary(operator/ |
a OpSubtract a OpDivide | PETE_DefineBinary (operator%,(a%b), OpMod) PETE_DefineBinary(operator< |
| PETE_DefineAssign ((a=b),(a=b.value), OpAssign) PETE_DefineAssign((a+ |
template<class T> |
T::PETE_Expr_t::PETE_Return_t | sum (const PETE_Expr< T > &expr) |
template<class T> |
T::PETE_Expr_t::PETE_Return_t | prod (const PETE_Expr< T > &expr) |
Variables |
| a |
OpUnaryPlus | a |
a | b |
a OpSubtract a | b |
a OpSubtract a OpDivide | a< b), OpLT) PETE_DefineBinary(operator<=,(a<=b), OpLE) PETE_DefineBinary(operator>,(a > b), OpGT) PETE_DefineBinary(operator> |
a OpSubtract a OpDivide | a |