Interpolation class abstract
Abstract class representing an interpolation strategy that finds new data points based on a given discrete set of data points, called nodes. The algorithms implemented by this package are:
Subclasses of Interpolation should only override the compute()
method.
Constructors
-
Interpolation(List<
InterpolationNode> _nodes) -
Creates an instance of Interpolation with the given nodes.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
nodes
→ List<
InterpolationNode> -
The interpolation nodes.
no setter
- 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 where the functionf
is built by interpolating the given nodes nodes andx
is the given point at which the function has to be evaluated. -
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.
override