Struct GaussianIntensity
pub struct GaussianIntensity<R: Scalar> {
pub mean_reversion: R,
pub vol: R,
pub correlation: R,
}Expand description
A credit entity’s Gaussian intensity λ = y + ψ(t), dy = −b·y dt + η dW,
correlated ρ with a currency’s Hull-White factor, in the pricing mode.
ψ is never stated: it is implied by the entity’s survival curve. Market
inputs, resolved from the canonical labels, each its own risk row.
Fields§
§mean_reversion: RThe intensity’s mean-reversion speed b, positive.
vol: RThe intensity’s volatility η, non-negative.
correlation: RThe correlation ρ with the Hull-White factor, in [−1, 1].
Implementations§
§impl<R: Scalar> GaussianIntensity<R>
impl<R: Scalar> GaussianIntensity<R>
pub fn passive(&self) -> GaussianIntensity<f64>
pub fn passive(&self) -> GaussianIntensity<f64>
The derivative-free projection of the parameters.
Trait Implementations§
§impl<R: Clone + Scalar> Clone for GaussianIntensity<R>
impl<R: Clone + Scalar> Clone for GaussianIntensity<R>
§fn clone(&self) -> GaussianIntensity<R>
fn clone(&self) -> GaussianIntensity<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 GaussianIntensity<R>
Auto Trait Implementations§
impl<R> Freeze for GaussianIntensity<R>where
R: Freeze,
impl<R> RefUnwindSafe for GaussianIntensity<R>where
R: RefUnwindSafe,
impl<R> Send for GaussianIntensity<R>
impl<R> Sync for GaussianIntensity<R>
impl<R> Unpin for GaussianIntensity<R>where
R: Unpin,
impl<R> UnsafeUnpin for GaussianIntensity<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for GaussianIntensity<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