Function matrixMinor

  • This function finds the matrix minor at a given row and column

    Remarks

    A minor is the determinant of the submatrix with that particular row and column excluded

    Throws

    TypeError - if any component of matrix dimension (row, column) is less than 3

    Example

    const matrix = new Matrix([3, 5, 0,
    2, -1, -7,
    6, -1, 5], 3, 3)
    matrixMinor(matrix, 1, 0) //-> 25

    Parameters

    • matrix: Matrix

      matrix to find minor from

    • row: number

      row to exclude from minor calculation

    • column: number

      column to exclude from minor calculation

    Returns number

Generated using TypeDoc