SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
MathFunctionWithIntegral Interface Reference

Represents a mathematical function whose integral can be computed by the integral(double,double) method. More...

Inheritance diagram for MathFunctionWithIntegral:
[legend]
Collaboration diagram for MathFunctionWithIntegral:
[legend]

Public Member Functions

double integral (double a, double b)
 Computes (or estimates) the integral of the function over the interval \([a, b]\). More...
 
- Public Member Functions inherited from MathFunction
double evaluate (double x)
 Returns the value of the function evaluated at \(x\). More...
 

Detailed Description

Represents a mathematical function whose integral can be computed by the integral(double,double) method.

Member Function Documentation

◆ integral()

double integral ( double  a,
double  b 
)

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

Parameters
athe starting point of the interval.
bthe ending point of the interval.
Returns
the value of the integral.

Implemented in BSpline, SmoothingCubicSpline, Polynomial, AverageMathFunction, ShiftedMathFunction, and IdentityMathFunction.


The documentation for this interface was generated from the following file: