numpy.cos()
numpy.cos
-
numpy.cos(x[, out]) =
-
Cosine element-wise.
Parameters: x : array_like
Input array in radians.
out : ndarray, optional
Output array of same shape as
x
.Returns: y : ndarray
The corresponding cosine values.
Raises: ValueError: invalid return array shape
if
out
is provided andout.shape
!=x.shape
登录查看完整内容