How do you write this in lisp



Okay.  I am going to leave it as is.  I plan to add it to pw.mac.

Thanks,

Rich


--------------------------------------------------
From: "Richard Fateman" <fateman at cs.berkeley.edu>
Sent: Monday, April 05, 2010 2:49 PM
To: "Richard Hennessy" <rich.hennessy at verizon.net>
Cc: "Maxima List" <maxima at math.utexas.edu>
Subject: Re: [Maxima] 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
> 
>