change order of exponent for neg. matrix powers #20071
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
According to Higham-Lin [1], numerical accuracy is higher for the calculation
A^-k
, whenA
is a matrix andk
a positive integer, if it is calculated as(A^-1)^k
.[1] A Schur-Pade algorithm for fractional powers of a matrix, SIAM J. Matrix Anal. & Appl., Vol 32/3 1056-1078
Section 6:
"Algorithm 6.1 [
A^-k = (A^k)^-1
] invertsA^k
, which is potentially a much more ill conditioned matrix thanA
. Intuitively, Algorithm 6.2 [A^-k = (A^-1)^k
] should therefore be preferred.Section 9, Experiment 7: "Algorithms 6.2 ... clearly produce much more accurate results than Algorithm 6.1, as we expected."