A minor question: any plan to put the solve_lin_sys solver as the back
end of solve() ?
Currently my input is a list of expressions can be feed directly to
solve(). To use the solve_lin_sys I would have to first create ring
over the variables, apply that ring over all the expressions and give
them to solve_lin_sys, then finally convert the result back to expressions.
This is the code I wrote to do these tasks
from sympy.polys.rings import vring
from sympy.polys.domains import QQ
from sympy.polys.solvers import solve_lin_sys
def mysolve(eqts)
uks = get_vars(eqts) #set of symbols (variables) from all equations
vr = vring(uks, QQ)
eqts = map(vr,eqts)
rs = solve_lin_sys(eqts, vr)
rs = OrderedDict([(k.as_expr(),v.as_expr()) for k,v in rs.iteritems()])
return rs
--
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 http://groups.google.com/group/sympy?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.