python numpy.power()數組元素求n次方案例 ... numpy.power(x1, x2) ... x1 = range(6) >>> x1 [0, 1, 2, 3, 4, 5] >>> np.power(x1, 3) array([ 0, ...
確定! 回上一頁