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?
2 Réponses
+ 3
import numpy as np
a = np.array([[0, 8], [42, 6]])
np.linalg.det(a)
+ 2
Something like that?
https://code.sololearn.com/cyIq05NjIkQq/?ref=app