Defines a polynomial with random coefficients.

  • Parameters

    • degree: number

      The degree of the polynomial

    • Optionalinf: number = 0

      The lower bound of the coefficients (optional, defaults to 0)

    • Optionalsup: number = 1

      The upper bound of the coefficients (optional, defaults to 1)

    Returns ChalkboardFunction