• Initializes a matrix filled with one number.

    Parameters

    • element: number

      The number to fill the elements with

    • rows: number

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

    • Optional cols: number = rows

      The number of columns

    Returns ChalkboardMatrix

Generated using TypeDoc