//! Local volatility extraction from implied volatility surfaces.
//!
//! Local volatility σ_loc(T, K) is the instantaneous volatility in the
//! Dupire framework. It is derived from the implied volatility surface
//! via the Dupire formula.
//!
//! # Usage
//! Compose [`DupireLocalVol`] around any [`VolSurface`](crate::surface::VolSurface)
//! rather than calling `local_vol()` on the surface directly. This keeps surface
//! types free of Dupire numerics.
//!
//! # References
//! - Dupire, B. "Pricing with a Smile" (1994)
pub use DupireLocalVol;
use crateerror;
use crateVol;
/// Local volatility surface.
///
/// Provides σ_loc(T, K) at any point, derived from an implied vol surface.