interpolateInternalSingle function

double interpolateInternalSingle(
  1. double value,
  2. List<double> inputRange,
  3. List<double> outputRange,
  4. int offset,
)

Implementation

double interpolateInternalSingle(double value, List<double> inputRange,
    List<double> outputRange, int offset) {
  var inS = inputRange[offset];
  var inE = inputRange[offset + 1];
  var outS = outputRange[offset];
  var outE = outputRange[offset + 1];
  return interpolateInternalSingleProc(value, inS, inE, outS, outE);
}