Package com.opengamma.analytics.math.interpolation

Examples of com.opengamma.analytics.math.interpolation.StepInterpolator1D.interpolate()


  @Override
  public Double evaluate(Double x) {
    StepInterpolator1D interpolator = new StepInterpolator1D();
    Interpolator1DDataBundle dataBundle = interpolator.getDataBundleFromSortedArrays(_steps, _monthlyCumulativeFactors);
    return interpolator.interpolate(dataBundle, x);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.