• Returns a matrix with the number of rows and columns changed.

    Parameters

    • matr: ChalkboardMatrix

      The matrix

    • rows: number

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

    • Optional cols: number = rows

      The number of columns to change to

    Returns ChalkboardMatrix

Generated using TypeDoc