On Fri, Mar 7, 2008 at 12:52 AM, Gael Varoquaux
<[EMAIL PROTECTED]> wrote:
>
> On Fri, Mar 07, 2008 at 12:48:59AM +0100, Ondrej Certik wrote:
> > Right. We have some code already, but it needs more polishing. You can try
> this:
>
> > ------------
> > from sympy import Symbol, cos, Real
> > from sympy.numerics import bisect
>
> > x = Symbol("x")
> > e = cos(x) - x
>
> > def f(a):
> > return e.subs(x, a).evalf()
>
> > print bisect(f, 0, 2)
> > ----------------
>
> Why isn't this available as a keyword argument option to solve? It would
> make its discovery much easier.
Very good point. I added it to the issue:
http://code.google.com/p/sympy/issues/detail?id=734
Ondrej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" group.
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/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---