$ArcTan2: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision: from DME w/ love)
(Automatically generated page update)
 
(8 intermediate revisions by 5 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 15: 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)