![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python numpy
north_horse
这个作者很懒,什么都没留下…
展开
-
Python-- Numpy 和 Scipy学习笔记 图像切割
使用工具Numpy,Scipy from scipy import misc import numpy import matplotlib.pyplot face = misc.face() matplotlib.pyplot.subplot(211) matplotlib.pyplot.imshow(face) matplotlib.pyplot.subplot(212) matplotl...原创 2018-09-08 15:02:40 · 927 阅读 · 0 评论 -
Python- Numpy 矩阵
Numpy 中有关矩阵的操作 1.创建矩阵 创建矩阵,使用numpy 中的 mat()方法 import numpy as np A = np.mat("2 4 6;4 2 6;10 -4 18") print(A) 输出 2.行列式求和 import numpy as np A = np.mat("1 0 0;0 1 0;0 0 1") print(A) prin...原创 2018-09-10 20:58:41 · 128 阅读 · 0 评论