Skip to content

Instantly share code, notes, and snippets.

@MeherajUlMahmmud
Created April 23, 2021 17:37
Show Gist options
  • Select an option

  • Save MeherajUlMahmmud/427756e3960abd3b92e5186d9eda755e to your computer and use it in GitHub Desktop.

Select an option

Save MeherajUlMahmmud/427756e3960abd3b92e5186d9eda755e to your computer and use it in GitHub Desktop.
def calcDeterminant(matrix):
det = 0
for c in range(len(matrix)):
det += matrix[0][c] * calcMinorMeheraj(matrix, 0, c)
return det
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment