UserFunction.h File Reference
UserFunction objects are a way to build an object which applies a function to an
Array, and returns a new
Array for the expression.
More...
#include "Domain/Loc.h"
#include "Evaluator/EngineTraits.h"
#include "Engine/Engine.h"
#include "Engine/EngineFunctor.h"
#include "Engine/IntersectEngine.h"
#include "Engine/DataObject.h"
#include "PETE/ErrorType.h"
#include "Pooma/View.h"
#include "Pooma/FunctorResult.h"
|
Classes |
struct | UserFunctionEngine< UserFunction, Expression > |
| This is just a tag class for the user function engine. More...
|
class | Engine< D, T, UserFunctionEngine< UserFunction, Expression > > |
| A specialization of Engine for UserFunctionEngine. More...
|
struct | View1< UserFunction< Func >, Array< D, T, E > > |
class | UserFunction< Func > |
| To construct a user function class using UserFunction, define:. More...
|
struct | NewEngine< Engine< Dim, T, UserFunctionEngine< S, E > >, Domain > |
| Specializations of NewEngine for subsetting a UserFunctionEngine with an arbitrary domain. More...
|
struct | EvaluatorEngineTraits< UserFunctionEngine< UserFunction, Expression > > |
| Specializations for selecting the appropriate evaluator for the UserFunction engine. More...
|
struct | EngineFunctor< Engine< Dim, T, UserFunctionEngine< S, E > >, EFTag > |
struct | LeafFunctor< Engine< D, T, UserFunctionEngine< Func, Expr > >, EngineView< Tag > > |
struct | LeafFunctor< Engine< D, T, UserFunctionEngine< Func, Expr > >, ExpressionApply< Tag > > |
Detailed Description
UserFunction objects are a way to build an object which applies a function to an
Array, and returns a new
Array for the expression.
This is the recommended way for users to make elementwise functions apply to Arrays.
UserFunction
A base class from which users would inherit to produce a specific functor. This mainly implements operator()(expr), which constructs the expression with the function applied to the expression.
UserFunctionEngine<D,T2,Expression>
An engine for Arrays which applies a user function. This takes another engine as a template argument and applies the function to that engine.
NewEngine
Defines the type of UserFunctionEngine you get when you subset it. It just subsets the engine inside of it.