Chalkboard - v3.0.1
    Preparing search index...

    Function random

    • Initializes a random complex number.

      Parameters

      • Optionalinf: number = 0

        The lower bound

      • Optionalsup: number = 1

        The upper bound

      Returns ChalkboardComplex

      // Returns a random complex number with real and imaginary parts between 0 and 1
      const z = Chalkboard.comp.random();