TMtx *MtxIntPower(TMtx *Src, int Exponent) const;
Calculates the matrix to integer power.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtx * | |
| 2 | Exponent | int |
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