SSJ
3.3.1
Stochastic Simulation in Java
|
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\). More... | |
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.
double evaluate | ( | double | x | ) |
Returns the value of the function evaluated at \(x\).
x | value at which the function is evaluated |
x
Implemented in BSpline, SmoothingCubicSpline, PowerMathFunction, Polynomial, SquareMathFunction, ShiftedMathFunction, PiecewiseConstantFunction, AverageMathFunction, SqrtMathFunction, and IdentityMathFunction.