PolynomialFit constructor Null safety
- 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);
Creates a polynomial fit of the given degree.
There are n + 1 coefficients in a fit of degree n.
PolynomialFit(int degree) : coefficients = Float64List(degree + 1);