All Packages Class Hierarchy This Package Previous Next Index
Class interestRate.AbstractTermStructure
java.lang.Object
|
+----interestRate.AbstractTermStructure
- public abstract class AbstractTermStructure
- extends Object
-
AbstractTermStructure(int, double[], double[])
- Constructor takes following arguments.
-
F(int, int, double, double)
- The form of the short rate at the node (time,up_ticks)
-
GenPdag()
- Generate the entire pdag upto time horizon T.
-
print()
- print the entire dag.
-
slowSolve()
- Solve for the entire interest rate tree.
-
slowYield(int, int, int)
- yield of the bond of a given maturity
at the node (t,up_ticks).
AbstractTermStructure
public AbstractTermStructure(int T,
double yield[],
double volatilities[])
- Constructor takes following arguments.
- Parameters:
- s - T Time Horizon
- s - yield Array of Bond yields
- s - volatilites Array of Volatilities
F
public abstract double F(int time,
int up_ticks,
double r,
double k)
- The form of the short rate at the node (time,up_ticks)
GenPdag
public void GenPdag()
- Generate the entire pdag upto time horizon T.
print
public void print()
- print the entire dag.
slowYield
public double slowYield(int t,
int up_ticks,
int maturity)
- yield of the bond of a given maturity
at the node (t,up_ticks).
slowSolve
public void slowSolve()
- Solve for the entire interest rate tree.
All Packages Class Hierarchy This Package Previous Next Index