TMtx::IntPower Method

Overload List

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

Overload 1: TMtxVec *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 TMtx::Power and TMtx::PowerVec methods can be used.

See Also: TMtx::Power, TMtx::PowerVec
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *IntPower(TMtxVec *Base, int Exponent);

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

#NameTypeDescription
1BaseTMtxVec *
2Exponentint
Remarks:

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

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler