Function matsub

  • Subtract two matrices.

    Parameters

    • A: number[][]

      The matrix to subtract from.

    • B: number[][]

      The matrix to subtract by.

    Returns number[][]

    The difference.