25package umontreal.ssj.functions;
45 throw new NullPointerException();
59 return Math.sqrt(func.evaluate(x));
SqrtMathFunction(MathFunction func)
Computes and returns the square root of the function func.
double evaluate(double x)
Returns the value of the function evaluated at .
MathFunction getFunction()
Returns the function associated with this object.
This interface should be implemented by classes which represent univariate mathematical functions.