SSJ
V. 2.6.2.

umontreal.iro.lecuyer.functions
Interface MathFunctionWithFirstDerivative

All Superinterfaces:
MathFunction
All Known Implementing Classes:
AverageMathFunction, BSpline, IdentityMathFunction, PolInterp, Polynomial, PowerMathFunction, ShiftedMathFunction, SmoothingCubicSpline, SquareMathFunction

public interface MathFunctionWithFirstDerivative
extends MathFunction

Represents a mathematical function whose derivative can be computed using derivative.


Method Summary
 double derivative(double x)
          Computes (or estimates) the first derivative of the function at point x.
 
Methods inherited from interface umontreal.iro.lecuyer.functions.MathFunction
evaluate
 

Method Detail

derivative

double derivative(double x)
Computes (or estimates) the first derivative of the function at point x.

Parameters:
x - the point to evaluate the derivative to.
Returns:
the value of the derivative.

SSJ
V. 2.6.2.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.