• Returns a matrix with a row or column added (pushed in).

    Parameters

    • matr: ChalkboardMatrix

      The matrix

    • index: number

      The index of the row or column to push

    • axis: 0 | 1

      The axis to push to, which is 0 for the rows or 1 for the columns

    • elements: number[]

      The elements to push

    Returns ChalkboardMatrix

Generated using TypeDoc