numpy.power()用於陣列元素求n次方. numpy.power(x1, x2) :x2可以是數字,也可以是陣列,但是x1和x2的列數要相同 import numpy as np x1 = range(7) ...
確定! 回上一頁