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