pub fn linear_lreg(smin: f64, smax: f64, reg_param: &mut VectorF64) -> Value