Struct CrossCurrencyDynamics
pub struct CrossCurrencyDynamics<R: Scalar> {
pub fx_domestic_rate: R,
pub fx_foreign_rate: R,
pub fx_credit: R,
pub domestic_foreign_rate: R,
pub foreign_rate_credit: R,
}Expand description
The correlations a cross-currency simulation reads beyond the intensity’s: of the FX rate with the note currency’s Hull-White factor, with the bond currency’s, and with the issuer’s intensity; of the two Hull-White factors; and of the bond currency’s factor with the intensity. Market inputs from the canonical labels, each its own risk row.
Fields§
§fx_domestic_rate: RFX with the note currency’s rate factor.
fx_foreign_rate: RFX with the bond currency’s rate factor.
fx_credit: RFX with the issuer’s intensity.
domestic_foreign_rate: RThe two rate factors.
foreign_rate_credit: RThe bond currency’s rate factor with the issuer’s intensity.
Implementations§
§impl<R: Scalar> CrossCurrencyDynamics<R>
impl<R: Scalar> CrossCurrencyDynamics<R>
pub fn passive(&self) -> CrossCurrencyDynamics<f64>
pub fn passive(&self) -> CrossCurrencyDynamics<f64>
The derivative-free projection.
Trait Implementations§
§impl<R: Clone + Scalar> Clone for CrossCurrencyDynamics<R>
impl<R: Clone + Scalar> Clone for CrossCurrencyDynamics<R>
§fn clone(&self) -> CrossCurrencyDynamics<R>
fn clone(&self) -> CrossCurrencyDynamics<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<R: Copy + Scalar> Copy for CrossCurrencyDynamics<R>
Auto Trait Implementations§
impl<R> Freeze for CrossCurrencyDynamics<R>where
R: Freeze,
impl<R> RefUnwindSafe for CrossCurrencyDynamics<R>where
R: RefUnwindSafe,
impl<R> Send for CrossCurrencyDynamics<R>
impl<R> Sync for CrossCurrencyDynamics<R>
impl<R> Unpin for CrossCurrencyDynamics<R>where
R: Unpin,
impl<R> UnsafeUnpin for CrossCurrencyDynamics<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for CrossCurrencyDynamics<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