}
public static SABRInterestRateParameters createSABR1ParameterBumped(final double shift, final int parameterNumber) {
switch (parameterNumber) {
case 0:
return createSABR1AlphaBumped(new SABRHaganVolatilityFunction(), shift);
case 1:
return createSABR1RhoBumped(new SABRHaganVolatilityFunction(), shift);
case 2:
return createSABR1NuBumped(new SABRHaganVolatilityFunction(), shift);
default:
return null;
}
}