Summary
Calculates the square root of the matrix.
Class
TMtx
Declaration
Function MtxSqrt(Src: TMtx; SourceType: TMtxType = mtGeneral): TMtx;
Description
Calculates the square root of the Src matrix and stores the results to calling matrix. The product of the result with itself will give the original matrix. 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.
NOTE: The algorithm for general matrices will fail on a symmetric matrix.
| Copyright 2008 Dew Research |
http://www.dewresearch.com