MultiplyByConstantFunction

class MultiplyByConstantFunction : public CustomResultFunction

Product of a result by a constant (scale) operator : performs an item by item product of result values by a given constant.

CustomResultFunction for the product of a result by a constant

Public Functions

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

Computes output values.