Matlab 在使用“inv”计算逆时是否使用任何重新排序算法?
我正在尝试使用 Matlab biult-in 函数“inv”来计算方阵的逆。 matlab inv() 是否使用任何重新排序算法(在 inv 内部且无需用户指定)来计算逆?
提前致谢..
I am trying to use Matlab biult-in function "inv" to compute inverse of a square matrix. Does matlab inv() use any reordering algorithm (inside inv and with out specifying by the user) to compute inverse?
Thanks in advance..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能会进行行旋转以最小化舍入,但这只是算法的一部分。
你得到的逆数应该是预期的顺序。您这么问是因为有一个您无法解释的不寻常特征吗?
我会问你为什么认为你需要逆。更典型的是使用 LU 分解和前后替换来求解方程,而不是计算完整的逆矩阵。您如何使用结果?
There's probably row pivoting going on to minimize round-off, but that's just part of the algorithm.
The inverse that you get back should be in the expected order. Are you asking because there's an unusual feature that you can't explain?
I'll ask why you think you need the inverse. It's more typical to solve equations using LU decomposition and forward-back substitution rather than computing the full inverse. How are you using the result?