escript  Revision_Unversioneddirectory
Namespaces | Functions
UnaryOp.h File Reference
#include "system_dep.h"
#include "DataConstant.h"
#include "DataTagged.h"
#include "DataExpanded.h"
#include "DataTypes.h"

Go to the source code of this file.

Namespaces

 escript
 

Functions

template<class UnaryFunction >
void escript::unaryOp (DataExpanded &data, UnaryFunction operation)
 Perform the given unary operation on each data point of the given Data object. Called by Data::unaryOp. Calls DataArrayView::unaryOp. For DataExpanded objects, operation is done in parallel. More...
 
template<class UnaryFunction >
void escript::unaryOp (DataTagged &data, UnaryFunction operation)
 
template<class UnaryFunction >
void escript::unaryOp (DataConstant &data, UnaryFunction operation)