Helper function for linear interpolation and extrapolation.
( x: T, points: &[(T, f64)], left: Extrap, right: Extrap)
source not stored for this graph (policy: none)
no test coverage detected