Esempio n. 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));
 }
Esempio n. 2
0
 public VolatilityCube withConstantMultiplicativeShift(final double shift) {
   return new VolatilityCube(CubeShiftFunctionFactory.getShiftedCube(_cube, shift, false));
 }
Esempio n. 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));
 }
Esempio n. 4
0
 public VolatilityCube withParallelShift(final double shift) {
   return new VolatilityCube(CubeShiftFunctionFactory.getShiftedCube(_cube, shift, true));
 }