...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
np.linalg.solve(a,b) #where a and b is matrixs #returns a array with solutions to the system |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
np.linalg.eig(a) # where a is a square matrix #returns two arrays [v,w] #v containing the eigenvalues of a #w containing the eigenvectors of a |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
np.linalg.det(a) # where a is a square matrix #returns the determinant of the matrix a |
...