Class DoubleExponential4RealLine
- java.lang.Object
-
- dev.nm.analysis.integration.univariate.riemann.substitution.DoubleExponential
-
- dev.nm.analysis.integration.univariate.riemann.substitution.DoubleExponential4RealLine
-
- All Implemented Interfaces:
SubstitutionRule
public class DoubleExponential4RealLine extends DoubleExponential
This transformation is good for the region \((-\infty, +\infty)\). The tricky part of using this transformation is to figure out a good range for t. If there is information about the integrand available,SubstitutionRule.ta()
andSubstitutionRule.tb()
should be overridden. The substitution isx = sinh(c sinh(t))
- See Also:
- Wikipedia: Tanh-sinh quadrature
-
-
Constructor Summary
Constructors Constructor Description DoubleExponential4RealLine(UnivariateRealFunction f, double a, double b, double c)
Construct aDoubleExponential4RealLine
substitution rule.
-
-
-
Constructor Detail
-
DoubleExponential4RealLine
public DoubleExponential4RealLine(UnivariateRealFunction f, double a, double b, double c)
Construct aDoubleExponential4RealLine
substitution rule.- Parameters:
f
- the integranda
- the lower limitb
- the upper limitc
- usually either 0 or 0.5 * PI
-
-