mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
618 B
618 B
Function atan2
Computes the principal value of the arc tangent of y/x in radians
atan2(y, x)
For matrices, the function is evaluated element wise.
Parameters
| Parameter | Type | Description |
|---|---|---|
y |
Number | Boolean | Complex | Array | Matrix | |
x |
Number | Boolean | Complex | Array | Matrix |
Returns
| Type | Description |
|---|---|
| Number | Complex | Array | Matrix | res |