np.lib.scimath.sqrt([-1,4]) array([ 0.+1.j, 2.+0.j]) Notes ----- As the numpy.sqrt, this returns the principal square root of x, which is
確定! 回上一頁