Function hedron::math::select_sample

source ·
pub fn select_sample(t: fxx, data: Vec<fxx>) -> (fxx, fxx, fxx)
Expand description

when interpolating t between multiple data points, ‘select’ the two data points it falls between, if t in 0..data.len().