clValue::IntPower Method

TOpenCLValue *IntPower(TOpenCLValue *aBase, int Exponent) const;

Power (integer exponent).

#NameTypeDescription
1aBaseTOpenCLValue *
2Exponentint
Remarks:

Calculate the power Base^Exponent. For non integer exponents, the clValue::Power method can be used.

See Also: clValue::Power
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler