Example #1
0
 public VolatilityCube withMultipleMultiplicativeShifts(
     final double[] x, final double[] y, final double[] z, final double[] shifts) {
   return new VolatilityCube(
       CubeShiftFunctionFactory.getShiftedCube(_cube, x, y, z, shifts, false));
 }
Example #2
0
 public VolatilityCube withConstantMultiplicativeShift(final double shift) {
   return new VolatilityCube(CubeShiftFunctionFactory.getShiftedCube(_cube, shift, false));
 }
Example #3
0
 public VolatilityCube withSingleMultiplicativeShift(
     final double x, final double y, final double z, final double shift) {
   return new VolatilityCube(
       CubeShiftFunctionFactory.getShiftedCube(_cube, x, y, z, shift, false));
 }
Example #4
0
 public VolatilityCube withParallelShift(final double shift) {
   return new VolatilityCube(CubeShiftFunctionFactory.getShiftedCube(_cube, shift, true));
 }