Is there a python module to solve linear equations?

后端 未结 6 960
生来不讨喜
生来不讨喜 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条回答
  •  误落风尘
    2020-11-27 17:00

    See http://sympy.org/ and http://numpy.scipy.org/.

    Specifically, http://docs.scipy.org/doc/numpy/reference/routines.linalg.html

    And http://docs.sympy.org/0.7.0/tutorial.html#algebra, http://docs.sympy.org/dev/modules/solvers/solvers.html

    Edit: Added solvers link from the comment.

提交回复
热议问题