atan2~ Reference

Signal arc-tangent function (two variables)

atan2~

Description

Use the acosh~ object to take two given x and y values and output a signal which is their arc-tangent function, calculated as follows:
Arc-tangent (y/x)

Examples

Calculate the angle of two points around an origin (0, 0), in radians

Arguments

None.

Attributes

Common Box Attributes

Messages

int

Arguments

y/x-values [int]
Instead of a signal, atan2~ can also take integers in either inlet to specify the x and y values in the same way a signal would but without sample-accurate timing.

float

Arguments

y/x-values [float]
Instead of a signal, atan2~ can also take floats in either inlet to specify the y and x values in the same way a signal would but without sample-accurate timing.

signal

In left input: y value input to an arc-tangent function.

In right input: x value input to an arc-tangent function.

Output

signal

The arc-tangent input values (i.e. Arc-tangent (y/x)).

See Also

Name Description
atan~
atanh~
tanx~