numpy.square(x[, out]) =
Return the element-wise square of the input.
x : array_like
Input data.
out : ndarray
Element-wise x*x, of the same shape and dtype as x. Returns scalar if x is a scalar.
x*x
x
See also
登录查看完整内容
联系方式: