示例#1
0
 public PdeShortRate() { } // required for geerics
 public PdeShortRate(OneFactorModel.ShortRateDynamics d) {
     dynamics_ = d;
 }
示例#2
0
 public static TridiagonalOperator getOperator(OneFactorModel.ShortRateDynamics process, Vector grid) {
     throw new NotImplementedException();
     //! Interest-rate single factor model differential operator
     //return new PdeOperator<PdeShortRate>(grid, process);
 }
示例#3
0
 public Helper(int i, double xMin, double dx,
        double discountBondPrice,
        OneFactorModel.ShortRateTree tree){
   size_=tree.size(i);
   dt_=tree.timeGrid().dt(i);
   xMin_=xMin;
   dx_=dx;
   statePrices_=tree.statePrices(i);
   discountBondPrice_=discountBondPrice;
 }