$ArcTan2: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
(Automatically generated page update)
 
(3 intermediate revisions by 3 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="warning">Most Sirius $functions have been deprecated in favor of Object Oriented
<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 <var>$ArcTan2</var> function.</p>
methods. There is currently no direct OO equivalent for the $ArcTan2 function.</p>
[[Category: Mathematical $functions]]
[[Category: Mathematical $functions]]
<p>
<p>
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>
{{Template:Math $functions note}}

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)