Enum SigmaPin
pub enum SigmaPin {
Flat(f64),
Dated(Vec<(NaiveDate, f64)>),
}Expand description
The volatility MarketContext::with_hull_white pins: one flat value,
or dated pieces (interval end, σ), the last extending flat beyond its
date.
Variants§
Flat(f64)
One volatility for all time, under HW-{CCY}-SIGMA.
Dated(Vec<(NaiveDate, f64)>)
One (end, σ) per piece, under HW-{CCY}-SIGMA-{end}.
Trait Implementations§
impl StructuralPartialEq for SigmaPin
Auto Trait Implementations§
impl Freeze for SigmaPin
impl RefUnwindSafe for SigmaPin
impl Send for SigmaPin
impl Sync for SigmaPin
impl Unpin for SigmaPin
impl UnsafeUnpin for SigmaPin
impl UnwindSafe for SigmaPin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more