矩形矩阵的LU分解 [英] LU decomposition of rectangular matrices

查看:81
本文介绍了矩形矩阵的LU分解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

方法lu对于平方矩阵很好用.但是,我看不到为什么有square限制.如何在矩形矩阵上执行LU分解?

Method lu of package Matrix works fine for square matrices. However, I can't see why there is that square restriction. How can I perform LU decomposition on a rectangular matrix?

推荐答案

您可以将其嵌入到身份矩阵中:

You can embed it into a identity matrix:

[ a11 a12 a13 ]
[ a21 a22 a23 ]
[  0   0   1  ]

LU分解仅适用于平方矩阵.您可能需要查看维基百科以获得刷新.

LU decomposition is for square matrices only. You may want to check Wikipedia for a refreshing.

这篇关于矩形矩阵的LU分解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆