Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

compute eigenvalue python

import numpy as np
a = np.array([[0, 2], 
              [2, 3]])
w,v=np.linalg.eig(a)
print('E-value:', w)
print('E-vector', v)
Source by pythonnumericalmethods.berkeley.edu #
 
PREVIOUS NEXT
Tagged: #compute #eigenvalue #python
ADD COMMENT
Topic
Name
4+7 =