LinearInterpolant constructor

LinearInterpolant(
  1. List<num> parameterPositions,
  2. List<num> sampleValues,
  3. int sampleSize,
  4. List? resultBuffer,
)

parameterPositions -- array of positions

sampleValues -- array of samples

sampleSize -- number of samples

resultBuffer -- buffer to store the interpolation results.

Implementation

///
/// [sampleValues] -- array of samples
  ///
/// [sampleSize] -- number of samples
  ///
/// [resultBuffer] -- buffer to store the interpolation results.
  ///
  LinearInterpolant(
    super.parameterPositions,
    super.sampleValues,
    super.sampleSize,
    super.resultBuffer
  );