SubtractConstantFunction

class SubtractConstantFunction : public CustomResultFunction

Subtraction of a result and a constant (offset) operator : performs an item by item subtraction of result values and a given constant.

CustomResultFunction for the subtraction of a result and a constant

Public Functions

inline SubtractConstantFunction(size_t dimension, double constant)
inline virtual bool computeItem(const std::vector<const double*> &inputValues, double *outputValues)

Computes output values.