Matrix::MtxIntPower Method

TMtx *MtxIntPower(TMtx *Src, int Exponent) const;

Calculates the matrix to integer power.

#NameTypeDescription
1SrcTMtx *
2Exponentint
Remarks:

Calculate the matrix to any integer power. Because the Matrix::MtxFunction method is based on the eigenvalue decomposition and the eigenvalue, the SourceType for symmetric and symmetric positive definite matrices has to be defined explicitly.

Note
The algorithm for general matrices will fail on a symmetric matrix.

See Also: Matrix::MtxPower
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler