TOpenCLVector::IntPower Method

Overload List

#SignatureDescription
1TOpenCLBase *IntPower(TOpenCLBase *aBase, int Exponent);
2TOpenCLMtxVec *IntPower(int Exponent);Power (integer exponent).
3TOpenCLMtxVec *IntPower(TOpenCLMtxVec *aBase, int Exponent);Calculate the power Base^(Exponent) for all Base object elements.

Overload 1: TOpenCLBase *IntPower(TOpenCLBase *aBase, int Exponent);

#NameTypeDescription
1aBaseTOpenCLBase *
2Exponentint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLMtxVec *IntPower(int Exponent);

Power (integer exponent).

#NameTypeDescription
1Exponentint
Remarks:

Calculate the power ^(Exponent) for all caling object elements using the integer parameter Exponent. For non integer exponents, the TOpenCLVector::Power and TOpenCLVector::PowerVec methods can be used.

See Also: TOpenCLVector::Power, TOpenCLVector::PowerVec
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLMtxVec *IntPower(TOpenCLMtxVec *aBase, int Exponent);

Calculate the power Base^(Exponent) for all Base object elements.

#NameTypeDescription
1aBaseTOpenCLMtxVec *
2Exponentint
Remarks:

Calclation uses the integer Exponent value and stores the results in calling object. Size and TOpenCLBase::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler