This interface should be implemented by classes which represent univariate mathematical functions. More...
Public Member Functions | |
| double | evaluate (double x) |
| Returns the value of the function evaluated at \(x\). | |
This interface should be implemented by classes which represent univariate mathematical functions.
It is used to pass an arbitrary function of one variable as argument to another function. For example, it is used in
umontreal.ssj.util.RootFinder to find the zeros of a function.
<div class="SSJ-bigskip"></div><div class="SSJ-bigskip"></div>
Definition at line 36 of file MathFunction.java.
| double umontreal.ssj.functions.MathFunction.evaluate | ( | double | x | ) |
Returns the value of the function evaluated at \(x\).
| x | value at which the function is evaluated |
Implemented in umontreal.ssj.functionfit.BSpline, umontreal.ssj.functionfit.SmoothingCubicSpline, umontreal.ssj.functions.AverageMathFunction, umontreal.ssj.functions.IdentityMathFunction, umontreal.ssj.functions.PiecewiseConstantFunction, umontreal.ssj.functions.Polynomial, umontreal.ssj.functions.PowerMathFunction, umontreal.ssj.functions.ShiftedMathFunction, umontreal.ssj.functions.SqrtMathFunction, and umontreal.ssj.functions.SquareMathFunction.