<?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="pow" module="max" category="Math">
	<digest>
		Computes input to the nth power
	</digest>
	<description>
		Raises the base value (set in the left inlet) to the power of the exponent (set in the right inlet).
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Math
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Raise X...
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				...To Y
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Result of X ^ Y
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="exponent" optional="1" type="float or int">
			<digest>
				Exponent value
			</digest>
			<description>
				Sets the exponent value. The default value is 0.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output most recent calculation
			</digest>
			<description>
				Causes <o>pow</o> to output the most recent value it has calculated.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: Sets the exponent.
				<br />
				In right inlet: Sets the base value.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: Sets the exponent.
				<br />
				In right inlet: Sets the base value.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="base" optional="0" type="number" />
				<arg name="exponent" optional="0" type="number" />
			</arglist>
			<digest>
				Set both base and exponent
			</digest>
			<description>
				A list consisting of the base-value followed by the exponent-value will cause <o>pow</o> to output the base-value raised to the power of the exponent.
			</description>
		</method>
		<method name="ft1">
			<arglist>
				<arg name="exponent" optional="0" type="float" />
			</arglist>
			<digest>
				Sets the exponent
			</digest>
			<description>
				Sets the exponent.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="pow.png" caption="pow will give you a square deal (and other numbers, too)" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="expr" />
		<seealso name="&gt;&gt;" />
		<seealso name="&lt;&lt;" />
	</seealsolist>
	<misc name="Output">
		<entry name="float">
			<description>
				The base value (from the left inlet) raised to the exponent (from the right inlet).
			</description>
		</entry>
	</misc>
</c74object>
