PolynomialFit(int degree)

Creates a polynomial fit of the given degree.

There are n + 1 coefficients in a fit of degree n.

Source

PolynomialFit(int degree) : coefficients = new Float64List(degree + 1);