A newer version of Max is available. Click here to access the latest version of the Max documentation

pow Reference

First input is raised to the power of the second input

pow

Inlets

Base [number]

The base of the exponential expression. Event version triggers calculation.

Exponent [number]

The exponent of the exponential expression. Event version must trigger the left inlet in order to perform calculation

Outlets

Output [number]

The calculated output.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

The base of the exponential expression. Event version triggers calculation.

in2 [number]

The exponent of the exponential expression. Event version must trigger the left inlet in order to perform calculation

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
fastpow Approximated first input to the power of the second input
safepow
exp Raise e to a power
log The natural logarithm of the input (log base e)
e The constant value of e