Subject: Best way to use a compiled function in findroot
From: Robert Dodier
Date: Wed, 1 Sep 2010 09:43:14 -0600
On 9/1/10, Sergio Callegari <sergio.callegari at gmail.com> wrote:
> In any case, it still does not work
>
> g(y) := block([x : gensym()], findroot(lambda([x], f(x) - y), x, - 1, 1));
I have to wonder why you insist on calling this nonexistent function, findroot.
There is a function find_root which might be of interest.
Robert Dodier