PolynomialFit constructor

PolynomialFit(int degree)

Creates a polynomial fit of the given degree.

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

Implementation

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