Robert,
Thanks. I am posting the code. It's one file, containing:
1. coerce-bfloat-fun (modified coerce-float-fun, taken from
plot.lisp)
2. find-bfroot-subr (modified find-root-subr, taken from
intpol.lisp)
3. $find_bfroot (modified $find_root, from intpol.lisp)
Kostas
On 09/24/10 05:51 PM, Robert Dodier wrote:
> On Fri, Sep 24, 2010 at 11:13 AM, Kostas Oikonomou<ko at research.att.com> wrote:
>
>> (%i1) :lisp (load "fbfroot")
>> STYLE-WARNING: redefining INTERPOLATE-CHECK in DEFUN
>>
>> T
>> (%i1) find_bfroot(sin(x),x,0,3.4);
>> (%o1) find_bfroot(sin(x), x, 0.0b0, 3.4b0)
>> (%i2)
>>
>> But apparently the function find_bfroot() that I've defined is unrecognized.
>
> No, actually what happened is that there is some code in find_root
> (and therefore find_bfroot unless you changed it) to catch errors and
> return a partially-evaluated expression in that case.
>
> Aside from stepping through find_bfroot, you could call your
> coerce-bfloat-fun or whatever you named it to get a Lisp function,
> then try calling that by hand, or possibly bind a symbol to it and
> use that as your input function, and Lisp trace that new function.
>
> Probably it would be helpful to post the code you are working on.
>
> best
>
> Robert Dodier
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fbfroot.lisp.gz
Type: application/x-gzip
Size: 3144 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20100925/31aefe16/attachment.bin>