PolynomialInterpolation class base
Polynomial interpolation is the interpolation of a given data set by the polynomial of lowest possible degree that passes through the points of the data set.
This can also be seen as a generalization of linear interpolation.
- Inheritance
-
- Object
- Interpolation
- PolynomialInterpolation
Constructors
-
PolynomialInterpolation({required List<
InterpolationNode> nodes}) -
Creates a PolynomialInterpolation instance 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
-
buildPolynomial(
) → Algebraic - Computes the interpolation polynomial and returns it as an Algebraic object.
-
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