Hello Bobby, You can use `linsolve <http://docs.sympy.org/latest/modules/solvers/solveset.html#sympy.solvers.solveset.linsolve>` for linear system of equation and `nonlinsolve <http://docs.sympy.org/latest/modules/solvers/solveset.html#sympy.solvers.solveset.nonlinsolve>` for non linear system of equation.
Cheers, Shekhar On Wednesday, 11 October 2017 12:05:24 UTC+5:30, Bobby Rullo wrote: > > Hi there, > > Given a number of equations, I can give them to solve to get the solution > set, eg: > > solutions = solve([eq1, eq2, eq3]) > > However, solve seems to be deprecated in favor of solveset, but solveset > only takes a single equation: > > solutions = solveset([eq1, eq2, eq3]) > ValueError: [Eq(x, 1), Eq(y, 2), Eq(z, x + y)] is not a valid SymPy > expression > > Is there way to combine a number of equations to a single one? I am very > new to Sympy so I am sure I am missing something simple! > > Thanks, > > Bobby > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/d013f212-85d5-4727-b054-d1ca52158a79%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
