• Evaluates the rect function at a number.

    Parameters

    • num: number

      the number

    • center: number = 0

      The position of the function

    • width: number = 2

      The width of the function

    • scl: number = 1

      The scale of the function

    Returns number

Generated using TypeDoc