Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec *IntPower(int Exponent) const; | Power (integer exponent). |
| 2 | TOpenCLMtxVec *IntPower(TOpenCLMtxVec *aBase, int Exponent) const; | Calculate the power Base^(Exponent) for all Base object elements. |
Overload 1: TOpenCLMtxVec *IntPower(int Exponent) const;
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 clVector::Power and clVector::PowerVec methods can be used.
See Also: clVector::Power, clVector::PowerVec
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler
Overload 2: TOpenCLMtxVec *IntPower(TOpenCLMtxVec *aBase, int Exponent) const;
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 clVector::Complex properties of calling object are adjusted automatically.
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler