Package com.opengamma.analytics.financial.model.volatility.curve

Examples of com.opengamma.analytics.financial.model.volatility.curve.VolatilityCurve


    final VolatilityTermStructure vc = getVolCurve(lsRes.getFitParameters().getData());
    return new CapletStrippingSingleStrikeResult(chiSqr, lsRes.getFitParameters(), vc, new DoubleMatrix1D(mPrices));
  }

  private VolatilityTermStructure getVolCurve(final double[] capletVols) {
    return new VolatilityCurve(InterpolatedDoublesCurve.from(getPricer().getCapletExpiries(), capletVols, _interpolator));
  }
View Full Code Here


          return capletVols[-index - 1];
        }
      }
    };

    return new VolatilityCurve(FunctionalDoublesCurve.from(func));
  }
View Full Code Here

TOP

Related Classes of com.opengamma.analytics.financial.model.volatility.curve.VolatilityCurve

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.