public final class Epsilon extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
epsilon(double x)
This is the Taylor expansion of $$\frac{\exp(x)-1}{x}$$ - note for $$|x| > 10^{-10}$$ the expansion is note used .
|
static double |
epsilonP(double x)
This is the Taylor expansion of the first derivative of $$\frac{\exp(x)-1}{x}$$.
|
static double |
epsilonPP(double x)
This is the Taylor expansion of the second derivative of $$\frac{\exp(x)-1}{x}$$.
|
public static double epsilon(double x)
x - the valuepublic static double epsilonP(double x)
x - the valuepublic static double epsilonPP(double x)
x - the valueCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.