Multiprecision algorithms for computing the matrix logarithm
This code computes the logarithm and the Frechét derivative of a square matrix with non-negative eigenvalues in multiple precision. Both functions require the Advanpix Multiprecision Computing Toolbox for MATLAB (see www.advanpix.com) to work correctly.
The submission contains two functions:
* LOGM_MP computes the matrix logarithm and its Frechét derivative by using the inverse scaling and squaring algorithm and exploiting the complex Schur decomposition of the matrix.
* LOGM_MP_FULL computes the matrix logarithm without transforming the input matrix to upper triangular form.
A detailed description of the algorithms can be found in:
M. Fasi and N. J. Higham, Multiprecision Algorithms for Computing the Matrix Logarithm. Technical Report 2017.16, Manchester Institute for Mathematical Sciences, The University of Manchester, UK, May 2017.
Cite As
Massimiliano Fasi (2024). Multiprecision algorithms for computing the matrix logarithm (https://www.mathworks.com/matlabcentral/fileexchange/63841-multiprecision-algorithms-for-computing-the-matrix-logarithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: The Matrix Function Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
logm_multiprecision/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Add a picture. Add diagonalization for normal matrices.
|