Function interpolate_in
fn interpolate_in<R: Scalar>(nodes: &[f64], vals: &[R], x: R) -> RExpand description
interpolate with the coordinate itself in the mode: the segment is
chosen on the passive value, the weight is mode arithmetic, so a query at
a market-dependent coordinate (a bond option’s forward duration) carries
the coordinate’s adjoints as well as the nodes’.