Value interpolation topic
These are the most general interpolators, suitable for most values.
Functions
-
interpolate(
Object? a, Object? b) → Object? Function(num) Value interpolation -
Returns an interpolator between the two arbitrary values
a
andb
. -
interpolate(
Object? a, Object? b) → Object? Function(num) Value interpolation -
Returns an interpolator between the two arbitrary values
a
andb
. -
interpolate(
Object? a, Object? b) → Object? Function(num) Value interpolation -
Returns an interpolator between the two arbitrary values
a
andb
. -
interpolateBasis(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateBasis(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateBasis(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateBasisClosed(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateBasisClosed(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateBasisClosed(
List< Value interpolationnum> values) → num Function(num) -
Returns a uniform nonrational B-spline interpolator through the specified
list of
values
, which must be numbers. -
interpolateDate(
DateTime a, DateTime b) → DateTime Function(num) Value interpolation -
Returns an interpolator between the two dates
a
andb
. -
interpolateDate(
DateTime a, DateTime b) → DateTime Function(num) Value interpolation -
Returns an interpolator between the two dates
a
andb
. -
interpolateDate(
DateTime a, DateTime b) → DateTime Function(num) Value interpolation -
Returns an interpolator between the two dates
a
andb
. -
interpolateDiscrete(
List< Value interpolationObject?> values) → Object? Function(num) -
Returns a discrete interpolator for the given list of
values
. -
interpolateDiscrete(
List< Value interpolationObject?> values) → Object? Function(num) -
Returns a discrete interpolator for the given list of
values
. -
interpolateDiscrete(
List< Value interpolationObject?> values) → Object? Function(num) -
Returns a discrete interpolator for the given list of
values
. -
interpolateList<
T> (List< Value interpolationT> a, List<T> b) → List<Object?> Function(num) -
Returns an interpolator between the two lists
a
andb
. -
interpolateList<
T> (List< Value interpolationT> a, List<T> b) → List<Object?> Function(num) -
Returns an interpolator between the two lists
a
andb
. -
interpolateList<
T> (List< Value interpolationT> a, List<T> b) → List<Object?> Function(num) -
Returns an interpolator between the two lists
a
andb
. -
interpolateMap<
K, V> (Map< Value interpolationK, V> a, Map<K, V> b) → Map<K, Object?> Function(num) -
Returns an interpolator between the two objects
a
andb
. -
interpolateMap<
K, V> (Map< Value interpolationK, V> a, Map<K, V> b) → Map<K, Object?> Function(num) -
Returns an interpolator between the two objects
a
andb
. -
interpolateMap<
K, V> (Map< Value interpolationK, V> a, Map<K, V> b) → Map<K, Object?> Function(num) -
Returns an interpolator between the two objects
a
andb
. -
interpolateNumber(
num a, num b) → num Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
. -
interpolateNumber(
num a, num b) → num Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
. -
interpolateNumber(
num a, num b) → num Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
. -
interpolateNumberList<
T extends num> (List< Value interpolationT> a, List<T> b) → List<T> Function(num) -
Returns an interpolator between the two list of numbers
a
andb
. -
interpolateNumberList<
T extends num> (List< Value interpolationT> a, List<T> b) → List<T> Function(num) -
Returns an interpolator between the two list of numbers
a
andb
. -
interpolateNumberList<
T extends num> (List< Value interpolationT> a, List<T> b) → List<T> Function(num) -
Returns an interpolator between the two list of numbers
a
andb
. -
interpolateRound(
num a, num b) → int Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
; the interpolator is similar to interpolateNumber, except it will round the resulting value to the nearest integer. -
interpolateRound(
num a, num b) → int Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
; the interpolator is similar to interpolateNumber, except it will round the resulting value to the nearest integer. -
interpolateRound(
num a, num b) → int Function(num) Value interpolation -
Returns an interpolator between the two numbers
a
andb
; the interpolator is similar to interpolateNumber, except it will round the resulting value to the nearest integer. -
interpolateString(
String a, String b) → String Function(num) Value interpolation -
Returns an interpolator between the two strings
a
andb
. -
interpolateString(
String a, String b) → String Function(num) Value interpolation -
Returns an interpolator between the two strings
a
andb
. -
interpolateString(
String a, String b) → String Function(num) Value interpolation -
Returns an interpolator between the two strings
a
andb
. -
piecewise<
T> (List< Value interpolationT> values, [Object? Function(num) interpolatorFactory(T, T) = interpolate]) → Object? Function(num) -
Returns a piecewise interpolator, composing interpolators for each adjacent
pair of
values
. -
piecewise<
T> (List< Value interpolationT> values, [Object? Function(num) interpolatorFactory(T, T) = interpolate]) → Object? Function(num) -
Returns a piecewise interpolator, composing interpolators for each adjacent
pair of
values
. -
piecewise<
T> (List< Value interpolationT> values, [Object? Function(num) interpolatorFactory(T, T) = interpolate]) → Object? Function(num) -
Returns a piecewise interpolator, composing interpolators for each adjacent
pair of
values
. -
quantize<
T> (T interpolator(num), int n) → List< Value interpolationT> -
Returns
n
uniformly-spaced samples from the specifiedinterpolator
, wheren
is an integer greater than one. -
quantize<
T> (T interpolator(num), int n) → List< Value interpolationT> -
Returns
n
uniformly-spaced samples from the specifiedinterpolator
, wheren
is an integer greater than one. -
quantize<
T> (T interpolator(num), int n) → List< Value interpolationT> -
Returns
n
uniformly-spaced samples from the specifiedinterpolator
, wheren
is an integer greater than one.