python中欠定方程组的求解依据

发布于 2024-07-14 05:12:01 字数 152 浏览 12 评论 0原文

我有一个待定方程组(n 个变量的 m 个方程,m 小于 n)。 因此,如果它是可解的,那么解集就是线性空间(如果它是同质集)或仿射空间(非齐次)。

Python 中是否有一种简单的方法(可能与其他库一起)来获取这个空间 - 例如,其基础?

谢谢。

I have an underdetermined equation set (m equations of n variables, m smaller than n). As such, if it is solvable then the set of solutions are a linear space (if it is a homogenic set) or affine space (non-homogenic).

Is there an easy way in Python (possibly with other libraries) to obtain this space - for example, a basis of which?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

落墨 2024-07-21 05:12:02

使用 linalg 包.scipy.org" rel="nofollow noreferrer">SciPy

Use linalg package from SciPy

不及他 2024-07-21 05:12:02

就像上一张海报所说,您需要 SciPy 的 linalg,但重点关注奇异值分解 解决方案。 矩阵 U 是输出向量的基础。

Like the previous poster said, you'll want linalg from SciPy, but focus on the Singular Value Decomposition solution. The matrix U is the basis for the output vectors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文