pub enum ComplexLogFormula {
AndersenPiterbarg,
AndersenPiterbargOptCV,
AsymptoticChF,
AngledContour,
AngledContourNoCV,
}Expand description
The control-variate formula selecting AP_Helper’s integrand
(analytichestonengine.hpp:100-118, the AP_Helper-relevant subset).
AngledContour (issue #416) and
AsymptoticChF (issue #426) are ported:
optimalControlVariate selects between exactly these two, so both are on the
calibrated oracle path. The remaining three variants are deferred to issue
#418 and fail loud in ApHelper::new (they are NOT stubbed to a ported
branch: a silent stub would mis-price; #262-class visible omission).
Variants§
AndersenPiterbarg
Gatheral form with Andersen-Piterbarg control variate (deferred).
AndersenPiterbargOptCV
A slightly better Andersen-Piterbarg control variate (deferred).
AsymptoticChF
Asymptotic expansion of the characteristic function as control variate (ported, issue #426).
AngledContour
Angled-contour integration with control variate (ported).
AngledContourNoCV
Angled-contour integration without control variate (deferred).
Trait Implementations§
Source§impl Clone for ComplexLogFormula
impl Clone for ComplexLogFormula
Source§fn clone(&self) -> ComplexLogFormula
fn clone(&self) -> ComplexLogFormula
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more