SSJ
V. labo.

umontreal.iro.lecuyer.functions
Interface MathFunctionWithDerivative

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

public interface MathFunctionWithDerivative
extends MathFunction

MathFunctionWithDerivative

Represents a mathematical function whose nth derivative can be computed using derivativedouble, int.


Method Summary
 double derivative(double x, int n)
          .
 
Methods inherited from interface umontreal.iro.lecuyer.functions.MathFunction
evaluate
 

Method Detail

derivative

double derivative(double x,
                  int n)
. \begin{tabb}
 Computes (or estimates) the $n$th derivative
 of the function at p...
 ...hod{umontreal.iro.lecuyer.functions}{MathFunction}{evaluate}{double}.
 \end{tabb}
xthe point to evaluate the derivate to. nthe order of the derivative. the resulting derivative. IllegalArgumentExceptionif n is negative or 0.


SSJ
V. labo.

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