mlx.core.tan

Contents

mlx.core.tan#

tan(a: array, /, *, stream: None | Stream | Device = None) array#

Element-wise tangent.

Parameters:

a (array) – Input array.

Returns:

The tangent of a.

Return type:

array