$ArcTan2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Automatically generated page update) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span class="pageSubtitle">Inverse tangent of ratio of arguments</span> | <span class="pageSubtitle">Inverse tangent of ratio of arguments</span> | ||
<p class=" | <p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented | ||
methods. There is currently no direct OO equivalent for the $ArcTan2 function.</p> | methods. There is currently no direct OO equivalent for the $ArcTan2 function.</p> | ||
[[Category: Mathematical $functions]] | [[Category: Mathematical $functions]] | ||
Line 14: | Line 14: | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%num</span><span class="literal"> = $ArcTan2(</span><span class="term">x</span>,<span class="term>y</span><span class="literal">)</span> </p> | <p class="syntax"><span class="term">%num</span><span class="literal"> = $ArcTan2(</span><span class="term">x</span>,<span class="term>y</span><span class="literal">)</span> </p> | ||
Latest revision as of 00:03, 21 September 2018
Inverse tangent of ratio of arguments
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $ArcTan2 function.
The $ArcTan2 function returns the arctangent (in radians) of the ratio of two arguments — x divided by y. If the second argument is 0 (or omitted), an error message is printed and a 0 is returned.
Syntax
%num = $ArcTan2(x,y)