Python
Sunnyconductor
这个作者很懒,什么都没留下…
展开
-
Python: Numpy的tile函数
Python: Numpy的tile函数tile函数tile函数应用举例1 一维扩充实例2 矩阵扩充实例3 补充说明tile函数根据numpy官方的说明1,tile函数的作用为:Construct an array by repeating A the number of times given by reps.If reps has length d, the result will h...原创 2019-01-19 12:01:45 · 200 阅读 · 0 评论 -
Python: Numpy中array的属性min()和max()
Python: Numpy中array的方法函数min和max作为array数组的方法min()min(i)作为array数组的方法对于类型为array的数组,可以直接调用最小值的方法函数min(),和最大值方法函数max()。以下仅以min()为例说明,该函数具体用法与numpy.amin()类似。1min()一个简单的应用实例为:from numpy import *arrayTe...原创 2019-01-21 01:47:56 · 14860 阅读 · 1 评论