Overview | Package | Class | Tree | Deprecated | Index | Help
| SSJ V. 2.1.1.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## umontreal.iro.lecuyer.functions
Interface MathFunctionWithIntegral

All Superinterfaces:
  MathFunction

All Known Implementing Classes:
  AverageMathFunction, IdentityMathFunction, Polynomial, ShiftedMathFunction

    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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SSJ V. 2.1.1.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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