How do you write this in lisp



On 4/5/2010 11:33 AM, Richard Hennessy wrote:
> Maybe I was not clear enough.  Here is some documentation of between.
<snip>
Since a lisp function would have to call Maxima repeatedly to determine 
the facts concerning ordering, using assumptions etc,
it is not likely that this would be much faster if rewritten in lisp.  
If you want a program to run faster, you have to first see where it is 
spending most of its time, really.

if you want a lisp function that works when x, a,b are all lisp 
numbers,and you know that it takes a long time as Maxima code, that 
would be a different story.

RJF