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