Cholesky decomposition

版本 1.0.0 (4.2 KB) 作者: Jan Motl
In place matrix factorization
513.0 次下载
更新时间 2019/4/22

查看许可证

This is an implementation of Cholesky decomposition based on [1]. The algorithm exploits matrix multiplication and is consequently faster than the canonical implementations of Cholesky decomposition via Cholesky-Banachiewicz/Cholesky-Crout decompositions, which use only matrix-vector multiplication (and not matrix-matrix multiplication). Interestingly enough, the algorithm can be seen as a hybrid between Cholesky-Banachiewicz and Cholesky-Crout algorithms. The algorithm takes a parameter, which says how large should be the matrix for matrix multiplication. If no parameter is passed, an optimal size for matrix multiplication is estimated.

The package contains following algorithms:
1) Cholesky-Banachiewicz
2) Cholesky-Crout
3) Hybrid

A practical note: Neither of the implementations is faster than the build in 'chol' function. The provided methods are merely for educative purposes.

[1] Simple, Fast and Practicable Algorithms for Cholesky, LU and QR Decomposition Using Fast Rectangular Matrix Multiplication by Cristóbal Camarero

引用格式

Jan Motl (2024). Cholesky decomposition (https://www.mathworks.com/matlabcentral/fileexchange/71304-cholesky-decomposition), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrix Decomposition 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0