Skip to main content

diff

Function diff 

Source
pub fn diff(data: &[f64], k: usize) -> Vec<f64>
Expand description

x[t] - x[t-k], NaN for the first k bars.