atan function

VARP atan(
  1. VARP x
)

Computes the trignometric inverse tangent of x element-wise.

The atan operation returns the inverse of tan, such that if y = tan(x) then, x = atan(y).

Note: The output of atan will lie within the invertible range of tan, i.e (-pi/2, pi/2).

Args:

  • x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_Float

Returns:

  • A variable. Has the same type as x.

Implementation

VARP atan(VARP x) => VARP.fromPointer(C.mnn_expr_Atan(x.ptr));