CubicInterpolant class

Fast and simple cubic spline interpolant.

It was derived from a Hermitian construction setting the first derivative at each sample position to the linear slope between neighboring positions over their parameter interval.

Inheritance

Constructors

CubicInterpolant(dynamic parameterPositions, dynamic sampleValues, dynamic sampleSize, dynamic resultBuffer)

Properties

cachedIndex int
getter/setter pairinherited
defaultSettings ↔ dynamic
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
parameterPositions ↔ dynamic
getter/setter pairinherited
resultBuffer ↔ dynamic
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleValues ↔ dynamic
getter/setter pairinherited
settings ↔ dynamic
getter/setter pairinherited
valueSize ↔ dynamic
getter/setter pairinherited

Methods

copySampleValue_(num index) → dynamic
inherited
evaluate(double t) → dynamic
inherited
getSettings() → dynamic
inherited
interpolate(int i1, num t0, num t, num t1) → dynamic
override
intervalChanged(dynamic v1, dynamic v2, dynamic v3) → dynamic
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