趙老師講的很清晰,而且簡(jiǎn)單易懂,課堂上沒(méi)聽(tīng)懂的,在這里聽(tīng)就懂啦~很喜歡老師的講課方式,期待老師的更多課程~
2020-09-07
最新回答 / 耒陽(yáng)七年
jupyter notebook?這個(gè)自己網(wǎng)上搜一下就有很多使用說(shuō)明
import numpy as np
#創(chuàng)建矩陣 A
A = np.array([[1,2,3],[4,5,6],[7,8,9]])
B = A
C = np.array([[1,2],[3,4],[5,6]])
D = np.array([[1],[2],[3]])
print(B,'\n',C,'\n',D)
E = A+B
G = np.dot(A,B)
H = -A
print(E,'\n',G,'\n',H)
I = np.dot(A,D)
print(I)
print(np.transpose(I))
#創(chuàng)建矩陣 A
A = np.array([[1,2,3],[4,5,6],[7,8,9]])
B = A
C = np.array([[1,2],[3,4],[5,6]])
D = np.array([[1],[2],[3]])
print(B,'\n',C,'\n',D)
E = A+B
G = np.dot(A,B)
H = -A
print(E,'\n',G,'\n',H)
I = np.dot(A,D)
print(I)
print(np.transpose(I))
2020-07-28
最新回答 / 奮_斗
有點(diǎn)影響,先 對(duì)公式求導(dǎo),y'=x^2-1,得到零點(diǎn)值x=±1,然后將x代入求f(x),最終得到的點(diǎn)就是極值
2020-07-23