Package com.opengamma.analytics.math.curve

Examples of com.opengamma.analytics.math.curve.InterpolatedCurveBuildingFunction


      sum += nodePoints.get(name).length;
      final Interpolator1D tInter = new TransformedInterpolator1D(interpolators.get(name), transforms[index++]);
      transformedInterpolators.put(name, tInter);
    }

    _curveBuilder = new InterpolatedCurveBuildingFunction(nodePoints, transformedInterpolators);
    _nKnotPoints = sum;

  }
View Full Code Here


public class InterpolatedYieldCurveBuildingFunction extends YieldCurveBundleBuildingFunction {

  private final InterpolatedCurveBuildingFunction _curveBuilder;

  public InterpolatedYieldCurveBuildingFunction(final LinkedHashMap<String, double[]> knotPoints, final LinkedHashMap<String, Interpolator1D> interpolators) {
    _curveBuilder = new InterpolatedCurveBuildingFunction(knotPoints, interpolators);
  }
View Full Code Here

      final String name = entry.getKey();
      final Interpolator1D temp = new TransformedInterpolator1D(entry.getValue(), parameterTransforms.get(name));
      transInterpolators.put(name, temp);
    }

    _curveBuilder = new InterpolatedCurveBuildingFunction(knotPoints, transInterpolators);

    // _parameterTransforms = parameterTransforms; //TODO all the check for this

    _knownParameterTermStructures = knownParameterTermSturctures;
  }
View Full Code Here

    _capPricers = new ArrayList<>(caps.size());
    for (final CapFloor cap : caps) {
      _capPricers.add(new CapFloorPricer(cap, yieldCurves));
    }
    _interpolators = transInterpolators;
    _curveBuilder = new InterpolatedCurveBuildingFunction(knotPoints, transInterpolators);
    _dataBundleBuilder = new Interpolator1DDataBundleBuilderFunction(knotPoints, transInterpolators);

  }
View Full Code Here

TOP

Related Classes of com.opengamma.analytics.math.curve.InterpolatedCurveBuildingFunction

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.