escript
Revision_Unversioneddirectory
|
Describes binary operations performed on instances of DataAbstract. More...
#include "system_dep.h"
#include "DataTypes.h"
#include "DataConstant.h"
#include "DataTagged.h"
#include "DataExpanded.h"
#include "DataMaths.h"
Go to the source code of this file.
Namespaces | |
escript | |
Functions | |
template<class BinaryFunction > | |
void | escript::binaryOp (DataTagged &left, const DataConstant &right, BinaryFunction operation) |
Perform the given binary operation. More... | |
template<class BinaryFunction > | |
void | escript::binaryOp (DataTagged &left, const DataTypes::ValueType &right, const DataTypes::ShapeType &shape, BinaryFunction operation) |
apply the binary op to each value in left and the single value right. More... | |
template<class BinaryFunction > | |
void | escript::binaryOp (DataTagged &left, const DataTagged &right, BinaryFunction operation) |
template<class BinaryFunction > | |
void | escript::binaryOp (DataConstant &left, const DataConstant &right, BinaryFunction operation) |
template<class BinaryFunction > | |
void | escript::binaryOp (DataExpanded &left, const DataReady &right, BinaryFunction operation) |
Describes binary operations performed on instances of DataAbstract.
For operations on DataVector see DataMaths.h. For operations on double* see LocalOps.h.