/src/main/java/net/finmath/fouriermethod/models/BatesModel.java
a[0].add( b[0].multiply( volatility[0]) ).add( c.multiply( time*lambda[0]) ).add( iargument.multiply( Math.log( )  - logDiscountFactorForForward) )
a[0] .add ( b[0].multiply ( volatility[0] ) ) .add ( c.multiply ( time*lambda[0] ) ) .add ( iargument.multiply ( Math.log ( initialValue ) - logDiscountFactorForForward ) )
) ) ) ; } Complex characteristicFunction = <extra_id_0> .add(logDiscountFactorForDiscounting); if(numberOfFactors == 2) { characteristicFunction = characteristicFunction .add(a[1]) .add(b[1].multiply(volatility[1])); }