Subject: plot2d not working with negative values and 0
From: Robert Dodier
Date: Wed, 22 Jul 2009 22:38:18 -0600
On 7/22/09, Douglas Edmunds <dae at douglasedmunds.com> wrote:
> plot2d([x^(1/3) ], [x,-3,-2])$
> plot2d([x^(1/3) ], [x,-3,0])$
I've committed r1.143 src/plot.lisp.
Those look OK now (a curve spans the specified range),
same with plot2d([x^(1/3) ], [x,-3,3]) .
The new revision will be in next release, scheduled for August
(barring complaints about the revision I made).
Incidentally I've collected many examples from the reference
manual, the mailing list, and elsewhere in tests/rtest_plot.mac.
Also, the key function COERCE-FLOAT-FUN is called by
the quadpack functions and find_root, so tests of those functions
are also tests of COERCE-FLOAT-FUN.
HTH
Robert Dodier