Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
titleSolve()
collapsetrue
np.linalg.solve(a,b) #where a and b is matrixs


#returns a array with solutions to the system

...

Code Block
languagepy
titleEigenvalues and eigenvectorscollapsetrue
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
languagepy
titleDeterminantcollapsetrue
np.linalg.det(a) # where a is a square matrix


#returns the determinant of the matrix a

...