public class TrinomialTreeNodeMetrics
extends java.lang.Object
Constructor and Description |
---|
TrinomialTreeNodeMetrics(long lTimeIndex,
long lXStochasticIndex,
double dblX,
double dblAlpha)
TrinomialTreeNodeMetrics Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
alpha()
Retrieve the Node's Alpha
|
double |
shortRate()
Retrieve the Node's Short Rate
|
long |
timeIndex()
Retrieve the Tree Node's Time Index
|
double |
x()
Retrieve the Node's X
|
long |
xStochasticIndex()
Retrieve the Tree Node's X Stochastic Index
|
public TrinomialTreeNodeMetrics(long lTimeIndex, long lXStochasticIndex, double dblX, double dblAlpha) throws java.lang.Exception
lTimeIndex
- The Tree Node's Time IndexlXStochasticIndex
- The Tree Node's Stochastic IndexdblX
- XdblAlpha
- Alphajava.lang.Exception
- Thrown if the Inputs are Invalidpublic double x()
public double alpha()
public double shortRate()
public long timeIndex()
public long xStochasticIndex()