Represents a mathematical function whose integral can be computed by the integral(double,double) method. More...
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\). | |
Represents a mathematical function whose integral can be computed by the integral(double,double) method.
Definition at line 33 of file MathFunctionWithIntegral.java.
| double umontreal.ssj.functions.MathFunctionWithIntegral.integral | ( | double | a, |
| double | b ) |
Computes (or estimates) the integral of the function over the interval \([a, b]\).
| a | the starting point of the interval. |
| b | the ending point of the interval. |
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.