SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.functions.MathFunctionWithIntegral Interface Reference

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

Inheritance diagram for umontreal.ssj.functions.MathFunctionWithIntegral:
umontreal.ssj.functions.MathFunction umontreal.ssj.functionfit.BSpline umontreal.ssj.functionfit.SmoothingCubicSpline umontreal.ssj.functions.AverageMathFunction umontreal.ssj.functions.IdentityMathFunction umontreal.ssj.functions.Polynomial umontreal.ssj.functions.ShiftedMathFunction umontreal.ssj.functionfit.PolInterp

Public Member Functions

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

Detailed Description

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

Definition at line 33 of file MathFunctionWithIntegral.java.

Member Function Documentation

◆ integral()

double umontreal.ssj.functions.MathFunctionWithIntegral.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 umontreal.ssj.functionfit.BSpline, umontreal.ssj.functionfit.SmoothingCubicSpline, umontreal.ssj.functions.AverageMathFunction, umontreal.ssj.functions.IdentityMathFunction, umontreal.ssj.functions.Polynomial, and umontreal.ssj.functions.ShiftedMathFunction.


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