Skip to contents

Element-wise inverse tangent. You can also use atan().

Usage

nv_atan(operand)

Arguments

operand

(arrayish)
Operand.

Value

arrayish
Has the same shape and data type as the input.

See also

prim_atan() for the underlying primitive.

Examples

x <- nv_array(c(-1, 0, 1))
atan(x)
#> AnvlArray
#>  -0.7854
#>   0.0000
#>   0.7854
#> [ CPUf32{3} ]