LeastSquaresSolver class
Uses the leastsquares algorithm to fit a polynomial to a set of data.
Constructors
Properties
 hashCode → int

The hash code for this object.
readonlyinherited
 runtimeType → Type

A representation of the runtime type of the object.
readonlyinherited

w
→ List<
double> 
The weight to use for each data point.
final

x
→ List<
double> 
The xcoordinates of each data point.
final

y
→ List<
double> 
The ycoordinates of each data point.
final
Methods

noSuchMethod(
Invocation invocation) → dynamic 
Invoked when a nonexistent method or property is accessed.
inherited

solve(
int degree) → PolynomialFit?  Fits a polynomial of the given degree to the data points.

toString(
) → String 
A string representation of this object.
inherited
Operators

operator ==(
Object other) → bool 
The equality operator.
inherited