Initializes an empty 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

    Returns ChalkboardMatrix