Function det

  • Compute the determinant of a matrix.

    Parameters

    • matrix: number[][]

      Array of arrays of numbers to calculate determinant for.

    Returns number

    The determinant.