Block Matrix Inverse tools

版本 1.0.0.0 (4.8 KB) 作者: Richard Lange
Matrix inversion, mldivide, and mrdivide taking advantage of user-defined sub-matrix structure.
193.0 次下载
更新 2018/5/31

Matlab has very good built-in support for fast matrix inversion exploiting the structure of a matrix. See the algorithms section of the documentation on `mldivide` for more information: https://www.mathworks.com/help/matlab/ref/mldivide.html#bt4jslc-6
The functions provided here were initially written to support a latent Gaussian Process inference implementation, where we frequently encounter large matrices which have sub-matrices with "nice" structure, but the full matrix does not. These functions implement matrix inversion (`blockinv`) and division (`blockmldivide` and `blockmrdivide`) by extracting sub-matrices of a user-defined size and calling the matlab built-ins on them. In certain cases, this means that the built-ins are able to exploit structure in the sub-matrices for very fast inversion and quickly combine the results together.

In general, expect these functions to be slower than simply using built-ins unless you are sure that your sub-matrices (but not the full matrix) have the kind of structure exploited by mldivide.

引用格式

Richard Lange (2026). Block Matrix Inverse tools (https://github.com/wrongu/block-matrix-inverse-tools), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Computer Vision with Simulink 的更多信息
致谢

启发作品: kfs_suite

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库