map method

double map(
  1. double x
)

Maps a value from the source to the target space.

Implementation

double map(double x) => _linearMap(_sourceValues, _targetValues, x);