Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

eigenvectors python

In [1]: import numpy as np

In [2]: K=np.random.normal(size=(2,2))

In [3]: eigenvalues, eigenvectors = np.linalg.eig(K)

In [4]: eigenvectors
Out[4]: 
array([[ 0.83022467+0.j        ,  0.83022467+0.j        ],
       [ 0.09133956+0.54989461j,  0.09133956-0.54989461j]])

In [5]: eigenvectors.shape
Out[5]: (2, 2)
Comment

PREVIOUS NEXT
Code Example
Python :: pyyaml install 
Python :: discord.py unmute 
Python :: how to disable help command discord.py 
Python :: get max float value python 
Python :: dataframe slice by list of values 
Python :: how to rewrite minute in datetime python 
Python :: --disable warning pytest 
Python :: fill python list with input 
Python :: créer des variable dynamiques python 
Python :: sklearn roc curve 
Python :: python print float in scientific notation 
Python :: how to append to text file with new line by line in python 
Python :: how to calculate running time in python 
Python :: python how to access clipboard 
Python :: pandas fill na with value from another column 
Python :: inverse matrix numpy 
Python :: sum of all nan values pandas 
Python :: python average of two lists by row 
Python :: matrix pow python 
Python :: dictionary sort python 
Python :: get current time in python with strftime 
Python :: python string list to list 
Python :: how to append to every second item in list python 
Python :: opencv grayscale to rgb 
Python :: converting string array to int array python 
Python :: get current month name python 
Python :: base64 decode python 
Python :: on_ready discord.py 
Python :: tkinter labelframe 
Python :: how to pass header in requests 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =