SSJ
V. 2.6.

umontreal.iro.lecuyer.functions
Interface MathFunctionWithIntegral

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

public interface MathFunctionWithIntegral
extends MathFunction

Represents a mathematical function whose integral can be computed by the integral method.


Method Summary
 double integral(double a, double b)
          Computes (or estimates) the integral of the function over the interval [a, b].
 
Methods inherited from interface umontreal.iro.lecuyer.functions.MathFunction
evaluate
 

Method Detail

integral

double integral(double a,
                double b)
Computes (or estimates) the integral of the function over the interval [a, b].

Parameters:
a - the starting point of the interval.
b - the ending point of the interval.
Returns:
the value of the integral.

SSJ
V. 2.6.

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