Matrix.MtxIntPower Method

TMtx MtxIntPower(TMtx Src, Int32 Exponent)

Calculates the matrix to integer power.

#NameTypeDescription
1SrcTMtxsource TMtx
2ExponentInt32

Result: stored in self (calling object), returns self for chaining

Remarks:

Calculate the matrix to any integer power. Because the Dew.Math.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