public class Integrator
extends java.lang.Object
Constructor and Description |
---|
Integrator() |
Modifier and Type | Method and Description |
---|---|
static double |
Boole(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the Boole rule.
|
static double |
LinearQuadrature(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the LinearQuadrature technique.
|
static void |
main(java.lang.String[] astrArgs) |
static double |
MidPoint(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the Mid-point rule.
|
static double |
Simpson(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the Simpson rule.
|
static double |
Simpson38(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the Simpson 3/8 rule.
|
static double |
Trapezoidal(AbstractUnivariate au,
double dblLeft,
double dblRight)
Compute the function's integral within the specified limits using the Trapezoidal rule.
|
public static final double LinearQuadrature(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static final double MidPoint(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static final double Trapezoidal(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static final double Simpson(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static final double Simpson38(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static final double Boole(AbstractUnivariate au, double dblLeft, double dblRight) throws java.lang.Exception
au
- Univariate FunctiondblLeft
- Left VariatedblRight
- Right Variatejava.lang.Exception
- Thrown if the error cannot be computedpublic static void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception