Initializes a random matrix.

  • Parameters

    • rows: number

      The number of rows or (if the cols parameter is blank) the number of rows or columns (the size)

    • Optionalcols: number = rows

      The number of columns

    • Optionalinf: number = 0

      The lower bound

    • Optionalsup: number = 1

      The upper bound

    Returns ChalkboardMatrix