Back to Core Functions
tan
Tangent of argument in radians
Syntax
Y = tan(X)
Description
Computes the tangent of each element. Operates element-wise on arrays.
Parameters
| Name | Description |
|---|---|
| X | Input angle in radians (scalar or NDArray) |
Returns
Tangent values (same shape as input)