ixfx
    Preparing search index...

    Functions

    array

    Normalises an array using the min-max technique. By default uses the actual min/max of the array as the normalisation range.

    arrayWithContext

    Normalises an array using the min-max technique.

    compute

    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
    stream

    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).

    streamWithContext