25package umontreal.ssj.functions;
48 return (b * b - a * a) / 2;
Represents the identity function .
double derivative(double x, int n)
Computes (or estimates) the th derivative of the function at point x.
double evaluate(double x)
Returns the value of the function evaluated at .
double integral(double a, double b)
Computes (or estimates) the integral of the function over the interval .
double derivative(double x)
Computes (or estimates) the first derivative of the function at point x.
Represents a mathematical function whose th derivative can be computed using derivative(double,...
Represents a mathematical function whose derivative can be computed using derivative(double).
Represents a mathematical function whose integral can be computed by the integral(double,...
This interface should be implemented by classes which represent univariate mathematical functions.