Class DoubleExponentialRuleQuadratureIntegrator
java.lang.Object
com.irurueta.numerical.integration.Integrator
com.irurueta.numerical.integration.QuadratureIntegrator<DoubleExponentialRuleQuadrature>
com.irurueta.numerical.integration.DoubleExponentialRuleQuadratureIntegrator
public class DoubleExponentialRuleQuadratureIntegrator
extends QuadratureIntegrator<DoubleExponentialRuleQuadrature>
Computes function integration by using double exponential quadrature.
Double exponential quadrature allows improper integrands containing singularities to be
integrated.
- See Also:
-
Field Summary
Fields inherited from class com.irurueta.numerical.integration.QuadratureIntegrator
EPS
Fields inherited from class com.irurueta.numerical.integration.Integrator
DEFAULT_INTEGRATOR_TYPE, DEFAULT_QUADRATURE_TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionDoubleExponentialRuleQuadratureIntegrator
(double a, double b, double hmax, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, double hmax, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener, double eps) Constructor.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, double hmax, SingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, double hmax, SingleDimensionFunctionEvaluatorListener listener, double eps) Constructor.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy and default maximum step size.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener, double eps) Constructor with default maximum step size.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, SingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy and default maximum step size.DoubleExponentialRuleQuadratureIntegrator
(double a, double b, SingleDimensionFunctionEvaluatorListener listener, double eps) Constructor. -
Method Summary
Methods inherited from class com.irurueta.numerical.integration.QuadratureIntegrator
create, create, create, create, getIntegratorType, integrate
Methods inherited from class com.irurueta.numerical.integration.Integrator
create, create, create, create
-
Constructor Details
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, double hmax, SingleDimensionFunctionEvaluatorListener listener, double eps) Constructor.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.hmax
- Maximum step size. This quadrature transforms the range of integration to [-hmax, hmax].listener
- listener to evaluate a single dimension function at required points.eps
- required accuracy.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, SingleDimensionFunctionEvaluatorListener listener, double eps) Constructor.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.listener
- listener to evaluate a single dimension function at required points.eps
- required accuracy.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, double hmax, SingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.hmax
- Maximum step size. This quadrature transforms the range of integration to [-hmax, hmax].listener
- listener to evaluate a single dimension function at required points.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, SingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy and default maximum step size.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.listener
- listener to evaluate a single dimension function at required points.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, double hmax, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener, double eps) Constructor.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.hmax
- Maximum step size. This quadrature transforms the range of integration to [-hmax, hmax].listener
- listener to evaluate a single dimension function at required points for double exponential quadrature to take into account any non-mild singularities.eps
- required accuracy.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener, double eps) Constructor with default maximum step size.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.listener
- listener to evaluate a single dimension function at required points for double exponential quadrature to take into account any non-mild singularities.eps
- required accuracy.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, double hmax, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.hmax
- Maximum step size. This quadrature transforms the range of integration to [-hmax, hmax].listener
- listener to evaluate a single dimension function at required points for double exponential quadrature to take into account any non-mild singularities.
-
DoubleExponentialRuleQuadratureIntegrator
public DoubleExponentialRuleQuadratureIntegrator(double a, double b, DoubleExponentialSingleDimensionFunctionEvaluatorListener listener) Constructor with default accuracy and default maximum step size.- Parameters:
a
- Lower limit of integration.b
- Upper limit of integration.listener
- listener to evaluate a single dimension function at required points for double exponential quadrature to take into account any non-mild singularities.
-
-
Method Details
-
getQuadratureType
Gets type of quadrature.- Specified by:
getQuadratureType
in classIntegrator
- Returns:
- type of quadrature.
-