scipp.cos¶
- scipp.cos(x, *, out=None)¶
Element-wise cosine.
- Parameters
x (VariableLike) – Input data.
out (Optional[VariableLike]) – Optional output buffer.
- 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
The cosine values of the input.
- Return type
VariableLike