<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="atan2~" module="msp" category="MSP Operators">
	<digest>
		Signal arc-tangent function (two variables)
	</digest>
	<description>
		Use the <o>acosh~</o> object to take two given x and y values and output a signal which is their arc-tangent function, calculated as follows:
		<br />
		Arc-tangent (y/x)
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Operators
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Y value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				X value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				atan2(y/x)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="y/x-values" optional="0" type="int" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				Instead of a signal, <o>atan2~</o> 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.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="y/x-values" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				Instead of a signal, <o>atan2~</o> 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.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left input: y value input to an arc-tangent function.
				<br />
				<br />
				In right input: x value input to an arc-tangent function.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="atan2~.png" caption="Calculate the angle of two points around an origin (0, 0), in radians" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="atan~" />
		<seealso name="atanh~" />
		<seealso name="tanx~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				The arc-tangent input values (i.e. Arc-tangent (y/x)).
			</description>
		</entry>
	</misc>
</c74object>
