Skip to main content

LegWalk

Type Alias LegWalk 

type LegWalk<R> = (Vec<R>, Vec<R>, Vec<f64>);
Expand description

What one pass over a leg’s future coupons produces: projected amounts, the discount factor at each payment, and — when asked for — each coupon’s basis-point weight. The two vectors a leg-level measure fuses over.