scipp.sin

scipp.sin(x, *, out=None)

Element-wise sine.

Parameters
  • x (VariableLike) – Input data.

  • out (Optional[VariableLike]) – Optional output buffer.

Raises

If the unit is not a plane-angle unit, or if the sine cannot be computed on the dtype, e.g., if it is an integer.

Returns

The sine values of the input.

Return type

VariableLike