python-numpy|python-numpy 笔记
- 参考网址doc:https://docs.scipy.org/doc/numpy/user/quickstart.html
- Unlike in many matrix languages, the product operator * operates elementwise in NumPy arrays. The matrix product can be performed using the dot function or method:
>>> A = np.array( [[1,1],
...[0,1]] )
>>> B = np.array( [[2,0],
...[3,4]] )
>>> A*B# elementwise product
array([[2, 0],
[0, 4]])
>>> A.dot(B)# matrix product
array([[5, 4],
[3, 4]])
推荐阅读
- EffectiveObjective-C2.0|EffectiveObjective-C2.0 笔记 - 第二部分
- Android中的AES加密-下
- 【读书笔记】贝叶斯原理
- 【韩语学习】(韩语随堂笔记整理)
- 人性的弱点-笔记
- 读书笔记:博登海默法理学|读书笔记:博登海默法理学 —— 正义的探索(1)
- D034+3组苏曼+《写作这回事》读书笔记
- 《自我的追寻》读书笔记3
- 最有效的时间管理工具(赢效率手册和总结笔记)
- 机器学习|机器学习 Andrew Ng《Machine Learning》课程笔记1