Function matrixCofactor

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

    Example

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

    Parameters

    • matrix: Matrix

      matrix to find cofactor from

    • row: number

      row to exclude from cofactor calculation

    • column: number

      column to exclude from cofactor calculation

    Returns number

Generated using TypeDoc