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

Examples of com.opengamma.analytics.financial.model.interestrate.curve.PriceIndexCurve


  public void testPriceIndexCurve() {
    final Map<Double, Double> map = new HashMap<>();
    map.put(1., 0.03);
    map.put(2., 0.04);
    map.put(3., 0.05);
    final PriceIndexCurve curve = new PriceIndexCurve(InterpolatedDoublesCurve.from(map, Interpolator1DFactory.getInterpolator("Linear")));
    assertEquals(curve, cycleObject(PriceIndexCurve.class, curve));
  }
View Full Code Here

TOP

Related Classes of com.opengamma.analytics.financial.model.interestrate.curve.PriceIndexCurve

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.