Transform Reference Guide


Compute the exponentiation of two values synchronously







The exponentiation operator computes the value ab, where a is the value of param1 and b is the value of param2. The operator accepts inputs and initialization arguments of any numeric type (ints, floats, doubles, complex and double complex) as well as samples and lists. Different types can be mixed and matched. For example, a float and an int (or an int and a float) yields a float result, while exponentiation of audio samples by a float power yields audio samples where the each sample value is raised to the power of the float argument. Exponentiation on list inputs is performed element-wise, where each element in the list could be a different type.

This operator only outputs a result when new values have been received by both inlets. Thus, if a new value is received by param1, no result will be computed until a value is received by param2 as well. If this is not the behavior you want, try the ^ operator instead.

See Also

OSW Programming Details

Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.