Function linker_records
fn linker_records<R: Scalar>(
linker: &InflationLinkedBond,
view: &PricingView<'_, R>,
) -> Result<Records, PricingError>Expand description
A linker’s indexed flows as records: an Indexed row per remaining real
coupon, its rate the real coupon rate times the index ratio observed for
its period, and a Redemption row indexed on the last period’s ratio — or
the par amount, unmultiplied, where the redemption floor binds — exactly as
the pricer values them, so the pv column sums to the bond’s value.