pub fn polyfit(
x_values: Array1<f64>,
y_values: Array1<f64>,
polynomial_degree: usize,
) -> Result<Array1<f64>, &'static str>
Expand description
@param x_values The x-values @param y_values The y-values @param polynomial_degree The degree of the polynomial. I. e. 2 for a parabola. @return Degree of monomials increases with the vector index