[−][src]Function sounding_analysis::linear_interpolate
pub fn linear_interpolate<X, Y>(
xs: &[Optioned<X>],
ys: &[Optioned<Y>],
target_x: X
) -> Optioned<Y> where
X: Quantity + Noned + PartialOrd + Sub<X>,
<X as Sub<X>>::Output: Quantity + Noned,
Y: Quantity + Noned,
Interpolate values given two parallel vectors of data and a target value.