Skip to main content

linreg_value

Function linreg_value 

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

Slope-adjusted endpoint of a least-squares line through the last length values (ThinkScript Inertia, a.k.a. LinearRegCurve).