Skip to main content

ClikaRT::ops::atan2

function

atan2()

Tensor atan2(Tensor a, Tensor b)

Elementwise four-quadrant arc tangent of a/b (the angle of the point (b, a)), in radians. Broadcasts and promotes as add.

Returns: the broadcast-shaped angles at the promoted float dtype.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) when the operand shapes are not broadcast-compatible.

Declared in ClikaRT/compute/ops.h, line 1352