[Maxima] question about sublist

Stavros Macrakis macrakis at alum.mit.edu
Wed Apr 18 10:17:56 CDT 2007


On 4/18/07, sen1 at math.msu.edu <sen1 at math.msu.edu> wrote:...

Perhaps my sloppy coding of the test:

          if sign(first(l))=sign(first(nextl))

is responsible for this.  Try

          if first(l)*first(nextl) > 0

That should speed things up.

                -s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070418/fd6618b9/attachment.htm 


More information about the Maxima mailing list