class PriceIndexCurveMultiplyFixedCurve implements PriceIndexCurve {

  @Override
  public double[] getPriceIndexParameterSensitivity(final double time) {
    double[] sensiUnderlying = _curve.getPriceIndexParameterSensitivity(time);
    double[] sensi = new double[sensiUnderlying.length];
    for (int i = 0; i < sensiUnderlying.length; i++) {
      sensi[i] = sensiUnderlying[i] * _fixedCurve.getYValue(time);
    }
    return sensi;
  }

  public  PriceIndexCurveMultiplyFixedCurve(final String name, final PriceIndexCurve curve, 
      final DoublesCurve fixedCurve);

}