Cosine elementwise.
x : array_like
Input array in radians.
out : ndarray
Output array of same shape as x.
Examples
>>> np.cos(np.array([0, np.pi/2, np.pi])) array([ 1.00000000e+00, 6.12303177e-17, -1.00000000e+00])
numpy.sin
numpy.tan