public final class TrigeorgisLatticeSpecification extends Object implements LatticeSpecification
| Constructor and Description |
|---|
TrigeorgisLatticeSpecification() |
| Modifier and Type | Method and Description |
|---|---|
DoubleArray |
getParametersTrinomial(double volatility,
double interestRate,
double dt)
Computes parameters for uniform trinomial tree.
|
public DoubleArray getParametersTrinomial(double volatility, double interestRate, double dt)
LatticeSpecificationThe interest rate must be zero-coupon continuously compounded rate.
The trinomial tree parameters are represented as DoubleArray containing [0] up factor, [1] middle factor,
[2] down factor, [3] up probability, [4] middle probability, [5] down probability.
getParametersTrinomial in interface LatticeSpecificationvolatility - the volatilityinterestRate - the interest ratedt - the time stepCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.