Struct DiscretizedCallableLoan
struct DiscretizedCallableLoan<R> {
coupons: Vec<(usize, R)>,
exercises: Vec<(usize, R, CallKind)>,
last: usize,
}Expand description
DiscretizedCallableBond with its flows and strikes in the pricing
mode: a callable loan’s floating coupons read the curves.
Fields§
§coupons: Vec<(usize, R)>§exercises: Vec<(usize, R, CallKind)>§last: usizeImplementations§
Trait Implementations§
§impl<R: Scalar> DiscretizedAsset<R> for DiscretizedCallableLoan<R>
impl<R: Scalar> DiscretizedAsset<R> for DiscretizedCallableLoan<R>
§fn adjust_values(&self, step: usize, _l: &HullWhiteLattice<R>, values: &mut [R])
fn adjust_values(&self, step: usize, _l: &HullWhiteLattice<R>, values: &mut [R])
As DiscretizedCallableBond’s: exercise on the ex-flow
continuation, then this slice’s flows.
Auto Trait Implementations§
impl<R> Freeze for DiscretizedCallableLoan<R>
impl<R> RefUnwindSafe for DiscretizedCallableLoan<R>where
R: RefUnwindSafe,
impl<R> Send for DiscretizedCallableLoan<R>where
R: Send,
impl<R> Sync for DiscretizedCallableLoan<R>where
R: Sync,
impl<R> Unpin for DiscretizedCallableLoan<R>where
R: Unpin,
impl<R> UnsafeUnpin for DiscretizedCallableLoan<R>
impl<R> UnwindSafe for DiscretizedCallableLoan<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