scipp.cos#

scipp.cos(x, *, out=None)#

Element-wise cosine.

Parameters
Raises

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.

Returns

Union[Variable, DataArray, Dataset] – The cosine values of the input.