Skip to main content

Module xad

Module xad 

Expand description

The differentiation modes the generic entry points instantiate. helixrs defines them itself (the arithmetic of xad-rs 1.0.0), so a caller names them from here and needs no AD dependency of its own.

Real is the bound every generic body is written against; the table in the crate docs says which concrete mode serves which shape. The tape types ride along because AReal is unusable without one. JetK is exported because it is routed: the calibration Jacobian and the bond-curve fit are computed in it, and a caller building on either names the type the result was computed in. Exporting it is not an invitation to route it further. The mode-routing test (tests/market_mode_routing.rs) holds the manifest of its consumers, and a third one must be declared there.

Re-exportsยง

pub use areal::AReal;
pub use jet1::Jet1;
pub use jet2::Jet2;
pub use jetk::JetK;
pub use real::CopyableReal;
pub use real::Real;
pub use tape::Tape;
pub use tape::TapeGuard;
pub use tape::TapeStorage;

Modulesยง

areal
derivative
elementaries ๐Ÿ”’
jet1
jet2
jet1_passive ๐Ÿ”’
jetk
math
passive
real
tape