0

Can someone help me write a code to calculate the determinat of a n x n matrix?

I've been trying for quite some time now but I'm out of ideas. I know mainly Python and Java so I was trying to build an algorithm using numpy. can anyone help me?

21st Sep 2018, 7:39 AM
aplneto
aplneto - avatar
2 Réponses
+ 3
import numpy as np a = np.array([[0, 8], [42, 6]]) np.linalg.det(a)
21st Sep 2018, 12:41 PM
Anna
Anna - avatar
21st Sep 2018, 3:44 PM
Sebastian Keßler
Sebastian Keßler - avatar