Is there a python module to solve linear equations?

后端 未结 6 901
生来不讨喜
生来不讨喜 2020-11-27 16:32

I want to solve a linear equation with three or more variables. Is there a good library in python to do it?

6条回答
  •  -上瘾入骨i
    2020-11-27 16:52

    You can also add constrains (upper bound and lower bound) on x with lsq_linear: scipy.optimize.lsq_linear

提交回复
热议问题