ts-playground
    Preparing search index...

    Function generateMap01To0InfWithQ

    • Generate a function that maps values from the interval [0, 1] to the interval [0, +∞) using a scaling factor q. This function is equivalent to the map01To0InfWithQ function.

      Parameters

      • q: number

        A scaling factor.

      Returns (x: number) => number

      A function that takes a value in the range [0, 1] and returns a value in the range [0, +∞).