_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › Python-Numpy

Contents

1 覦一 TO
2
3 覦一


from numpy import *
import numpy as np

1 覦一 TO #

import numpy as np
row1 = [1,2,3]
row2 = [4,5,6]
row3 = [7,8,9]
arr = np.array([row1, row2, row3])
mat = np.mat(arr)

2 #

m1 = np.mat(np.random.rand(4,4))
m2 = np.mat(np.random.rand(4,4))
m1 * m2 # 螻
m1 - m2 # 谿
m1 - m2 # 
m1.I #覓語I -> 
eye(4) #

3 覦一 #

>>> from numpy import *
>>> #る旭
>>> arr = random.rand(2,2)
蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:54

覓企Μ 覓殊企朱 願鍵覃 覓殊 . ()