Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function MtxPower(const Src: TMtx; Exponent: TCplx; SourceType: TMtxType): TMtx; | Calculate the matrix to complex power Exponent. |
| 2 | function MtxPower(const Src: TMtx; Exponent: Double; SourceType: TMtxType): TMtx; | Calculates the matrix to any power, real or integer. |
Overload 1: function MtxPower(const Src: TMtx; Exponent: TCplx; SourceType: TMtxType): TMtx;
Calculate the matrix to complex power Exponent.
Result: stored in self (calling object), returns self for chaining
Overload 2: function MtxPower(const Src: TMtx; Exponent: Double; SourceType: TMtxType): TMtx;
Calculates the matrix to any power, real or integer.
Result: stored in self (calling object), returns self for chaining
Remarks:
Calculate the matrix to any power, real or integer. It can also be used to compute the square root of the matrix. 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.MtxSqrt, Matrix.MtxFunction