Normalises an array using the min-max technique.
Returns a function which can do min-max normalisation, baking-in the min and max values.
// Normalise with min value of 20, max of 100
const fn = compute(20, 100
Normalises numbers using the min-max technique.
Adjusts min/max as new values are processed. Return values will be in the range of 0-1 (inclusive).
Normalises an array using the min-max technique. By default uses the actual min/max of the array as the normalisation range.