/src/main/java/net/finmath/fouriermethod/products/smile/EuropeanOptionSmileByCarrMadan.java
ratio + = ( ratio.multiply( ( ( Complex.I).multiply( upperBound*u) ).exp( ) ) ).multiply( gridSpacing) ;
ratio = ( ratio.multiply ( ( ( Complex.I ) .multiply ( upperBound*u ) ) .exp ( ) ) ) .multiply ( gridSpacing ) ;
for(int i = 0; i<numberOfPoints; i++) { final double u = gridSpacing * i; final Complex z = new Complex(u,-lineOfIntegration); final Complex numerator = modelCF.apply(z.subtract(Complex.I)); final Complex denominator = apply(z); Complex ratio = numerator.divide(denominator); <extra_id_0> double delta; if (i==0){ delta=1.0; }else{ delta = 0.0; }