Getting Started
User Guide
Visualization
Reference
bins
bin
histogram
x
y
transform_coords
Tutorials
About
Element-wise cosine.
x (Union[Variable, DataArray, Dataset]) – Input data.
Union
Variable
DataArray
Dataset
out (Union[Variable, DataArray, Dataset, None], default: None) – Optional output buffer.
None
If the unit is not a plane-angle unit, or if the cosine cannot be computed on the dtype, e.g., if it is an integer.
Union[Variable, DataArray, Dataset] – The cosine values of the input.