pub fn derivative(data: &[f64]) -> Vec<f64>
Expand description

Calculates the derivative of a Vector

  • will return a Vector of NaN if data.len() < 2