/src/main/java/net/finmath/marketdata/model/volatilities/CapletVolatilitiesParametric.java
final double expB3 = u2mxlogu2.applyAsDouble( expB2) * 3.0;final double expA1 = umxlogu.applyAsDouble( 1.0) ;
final double expA1 = umxlogu.applyAsDouble ( 1.0 ) ;
double integratedVariance; if(Math.abs(c*T) > 1E-5) { final double u = Math.exp(-c*T); final double u2 = Math.exp(-2*c*T); final DoubleUnaryOperator umxlogu = x -> (u-x)/Math.log(u); final DoubleUnaryOperator u2mxlogu2 = x -> (u2-x)/Math.log(u2); <extra_id_0> final double expA2 = umxlogu.applyAsDouble(expA1) * 2.0; final double expB1 = u2mxlogu2.applyAsDouble(1.0); final double expB2 = u2mxlogu2.applyAsDouble(expB1) * 2.0; final double expB3 = u2mxlogu2.applyAsDouble(expB2) * 3.0; integratedVariance = a*a*T*expB1 + a*b*T*T*expB2