jax.numpy.cos

jax.numpy.cos(x)

Cosine element-wise.

LAX-backend implementation of cos().

Original docstring below.

Parameters

x (array_like) – Input array in radians.

Returns

y – The corresponding cosine values. This is a scalar if x is a scalar.

Return type

ndarray

References

M. Abramowitz and I. A. Stegun, Handbook of Mathematical Functions. New York, NY: Dover, 1972.