You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Matrix.MtxIntPower Method
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.MtxIntPower Method

Calculates the matrix to integer power.

Pascal
function MtxIntPower(const Src: TMtx; Exponent: Integer): TMtx; overload;

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

The algorithm for general matrices will fail on a symmetric matrix.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!