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 MathFunction

All Known Subinterfaces:
  MathFunctionWithDerivative, MathFunctionWithFirstDerivative, MathFunctionWithIntegral

All Known Implementing Classes:
  AverageMathFunction, IdentityMathFunction, PiecewiseConstantFunction, Polynomial, PowerMathFunction, ShiftedMathFunction, SqrtMathFunction, SquareMathFunction

    public interface MathFunction

This interface should be implemented by classes which represent univariate mathematical functions. It is used to pass an arbitrary function of one variable as argument to another function. For example, it is used in `RootFinder` to find the zeros of a function.

Method Summary
`double` | `evaluate(double x)` Returns the value of the function evaluated at x.

Method Detail

### evaluate

    double evaluate(double x)

  Returns the value of the function evaluated at x.

  Parameters:
    `x` - value at which the distribution function is evaluated
  Returns:
    function evaluated at `x`

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.