TMtx.MtxPower Method

Overload List

#SignatureDescription
1TMtx MtxPower(TMtx Src, TCplx Exponent, TMtxType SourceType)Calculate the matrix to complex power Exponent.
2TMtx MtxPower(TMtx Src, Double Exponent, TMtxType SourceType)Calculates the matrix to any power, real or integer.

Overload 1: TMtx MtxPower(TMtx Src, TCplx Exponent, TMtxType SourceType)

Calculate the matrix to complex power Exponent.

#NameTypeDescription
1SrcTMtxsource TMtx
2ExponentTCplxscalar
3SourceTypeTMtxType

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

Overload 2: TMtx MtxPower(TMtx Src, Double Exponent, TMtxType SourceType)

Calculates the matrix to any power, real or integer.

#NameTypeDescription
1SrcTMtxsource TMtx
2ExponentDoublescalar
3SourceTypeTMtxType

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 Dew.Math.TMtx.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: TMtx.MtxSqrt, TMtx.MtxFunction