function MtxIntPower(const Src: TMtx; Exponent: Integer): TMtx;
Calculates the matrix to integer power.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtx | |
| 2 | Exponent | Integer |
Result: stored in self (calling object), returns self for chaining
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