Struct SpreadModel
struct SpreadModel<R: Scalar> {
means: (R, R),
sds: (R, R),
correlation: R,
convention: VolConvention,
}Expand description
The two rates a CMS spread observes: their adjusted means, their total standard deviations to the fixing, and the correlation joining them.
Fields§
§means: (R, R)§sds: (R, R)§correlation: R§convention: VolConventionImplementations§
§impl<R: Scalar> SpreadModel<R>
impl<R: Scalar> SpreadModel<R>
Auto Trait Implementations§
impl<R> Freeze for SpreadModel<R>where
R: Freeze,
impl<R> RefUnwindSafe for SpreadModel<R>where
R: RefUnwindSafe,
impl<R> Send for SpreadModel<R>
impl<R> Sync for SpreadModel<R>
impl<R> Unpin for SpreadModel<R>where
R: Unpin,
impl<R> UnsafeUnpin for SpreadModel<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for SpreadModel<R>where
R: UnwindSafe,
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