Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLBase *IntPower(TOpenCLBase *aBase, int Exponent); | |
| 2 | TOpenCLMtxVec *IntPower(int Exponent); | Power (integer exponent). |
| 3 | TOpenCLMtxVec *IntPower(TOpenCLMtxVec *aBase, int Exponent); | Calculate the power Base^(Exponent) for all Base object elements. |
Overload 1: TOpenCLBase *IntPower(TOpenCLBase *aBase, int Exponent);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aBase | TOpenCLBase * | |
| 2 | Exponent | int |
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler
Overload 2: TOpenCLMtxVec *IntPower(int Exponent);
Power (integer exponent).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Exponent | int |
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aBase | TOpenCLMtxVec * | |
| 2 | Exponent | int |
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