Function minor

  • Obtain the minor a matrix.

    Parameters

    • matrix: any[][]

      The input matrix.

    • i: number

      The row to remove.

    • j: number

      The column to remove.

    Returns any[][]

    The spliced matrix.