Function discounted_sum_after
fn discounted_sum_after<R: Scalar>(
flows: &[Cashflow<R>],
disc: &dyn YieldCurve<R>,
as_of: Option<NaiveDate>,
) -> Result<R, CurveError>fn discounted_sum_after<R: Scalar>(
flows: &[Cashflow<R>],
disc: &dyn YieldCurve<R>,
as_of: Option<NaiveDate>,
) -> Result<R, CurveError>