On 04/08/2012 03:33 AM, P Purkayastha wrote: > Something like this? > > sage: solns = solve([f.diff(ar) for ar in f.args()],f.args(), > solution_dict=True)[0] > sage: f( *(solns[ar] for ar in f.args()) ) > 0
The `subs_expr` method accepts multiple equations already, so you can shave a few characters off that: sage: solution = solve([f.diff(ar) for ar in f.args()],f.args())[0] sage: f(x,y).subs_expr(*solution) 0 -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
