public class DoubleExponential extends Object implements SubstitutionRule
SubstitutionRule.ta()
and SubstitutionRule.tb()
should be overridden.
The substitution is
x = 0.5 * (b + a) + 0.5 * (b - a) * tanh(c * sinh(t))
Constructor and Description |
---|
DoubleExponential(UnivariateRealFunction f,
double a,
double b,
double c)
Construct a
DoubleExponential substitution rule by trying to automatically determine the substitution rule. |
Modifier and Type | Method and Description |
---|---|
UnivariateRealFunction |
dx()
the first order derivative of the transformation: x'(t) = dx(t)/dt
|
double |
ta()
Get the lower limit of the integral.
|
double |
tb()
Get the upper limit of the integral.
|
UnivariateRealFunction |
x()
the transformation: x(t)
|
public DoubleExponential(UnivariateRealFunction f, double a, double b, double c)
DoubleExponential
substitution rule by trying to automatically determine the substitution rule.f
- the integranda
- the lower limitb
- the upper limitc
- a constant; usually either 0 or 0.5 * PIpublic UnivariateRealFunction x()
SubstitutionRule
x
in interface SubstitutionRule
public UnivariateRealFunction dx()
SubstitutionRule
dx
in interface SubstitutionRule
public double ta()
ta
in interface SubstitutionRule
public double tb()
tb
in interface SubstitutionRule
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.