Click or drag to resize

IMcOMGlobalMcPow Method

Computes X raised to the Y power for scalar or array X and Y.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function McPow ( 
	varXValues As Object,
	varYValues As Object
) As McObject

Parameters

varXValues
Type: SystemObject
May be a scalar or array of any numeric type. It may also be a McObject instance of a numeric type.
varYValues
Type: SystemObject
May be a scalar or array of any numeric type. It may also be a McObject instance of a numeric type.

Return Value

Type: McObject
A McObject instance holding varXValues raised to the varYValues power(s). The returned result will be of Double type. It will be the same shape as varXValue, except that it will always be an array, even if the varXValue is a scalar (generally there is no reason to use these vector operators unless you are dealing with arrays).
Remarks
The elements of the VARIANT varXValues is raised to the the VARIANT varYValues power and the result is returned as a Double array. If the shape of varYValues differs from varXValues, then elements from the varYValues are associated with elements from from varXValues in order, irrespective of number of dimensions or sizes of dimensions. If the vector length of varYValues is less than that of varXValues, then elements from varYValues are re-used as often as necessary. Note however, that usually varYValues will have only a single value (that is all elements of an array of varXValues is raised to a the same scalar varYValues power).
See Also