interpolantFactoryMethodSmooth method

Interpolant? interpolantFactoryMethodSmooth(
  1. dynamic result
)

Create a new CubicInterpolant from the times and values. A Float32Array can be passed which will receive the results. Otherwise a new array with the appropriate size will be created automatically.

Implementation

Interpolant? interpolantFactoryMethodSmooth(result) {
  return CubicInterpolant(times, values, getValueSize(), result);
}