FreePOOMA
2.4.1
|
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"
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.
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.
Defines the type of UserFunctionEngine you get when you subset it. It just subsets the engine inside of it.