Getting started
Examples
Developers
PiecewiseLinear
PiecewiseLinear::register_callback()
PiecewiseLinear::evaluate()
User-defined piecewise linear function.
The independent variable ‘x’ has to be increasing. User have to specify at least 2 points
Public Functions
Register this function with the function parser.
parser – The mu::Parser object we register this function with
Evaluate this function at point ‘x’.