LinearInterpolation class base
Linear interpolation is a curve fitting method that uses linear polynomials to construct new data points within the range of a discrete set of known data points.
This can also be seen as a special case of polynomial interpolation where the degree is set to 1.
- Inheritance
-
- Object
- Interpolation
- LinearInterpolation
Constructors
-
LinearInterpolation({required List<
InterpolationNode> nodes}) -
Creates a LinearInterpolation object from the given interpolation
nodes.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodes
→ List<
InterpolationNode> -
The interpolation nodes.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compute(
double x) → double -
Returns the
y
value of they = f(x)
equation.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited