pub fn linear_extrapolate(
trajectory: &[(i64, &[f32])],
target_timestamp: i64,
) -> Result<Vec<f32>, AnalyticsError>Expand description
Predict a future vector using linear extrapolation.
Uses the last two observations to estimate velocity and extrapolate.