d1 = (Math.log(forwardSi/payoff.strike())+0.5*variance)/Math.sqrt(variance);
LHS = payoff.strike() - Si;
final double /*@Real*/ temp2 = BlackFormula.blackFormula(payoff.optionType(), payoff.strike(), forwardSi, Math.sqrt(variance))*riskFreeDiscount;
RHS = temp2 - (1 - dividendDiscount * cumNormalDist.op(-d1)) * Si / Q;
bi = -dividendDiscount * cumNormalDist.op(-d1) * (1 - 1 / Q)
- (1 + dividendDiscount * cumNormalDist.derivative(-d1) / Math.sqrt(variance)) / Q;
}
break;
default:
throw new LibraryException(UNKNOWN_OPTION_TYPE); // QA:[RG]::verified
}