New piecewise package in development



Barton,

Thank you for this information.  I don't want to redefine unit_step, that would brake pwsumify in pw.mac too at the 
boundaries.  I will keep unit_step(0) = 0.

Rich




----- Original Message ----- 
From: "Barton Willis" <willisb at unk.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Richard Hennessy" <rvh2007 at comcast.net>; "dlakelan" <dlakelan at street-artists.org>; "'Edwin Woollett'" 
<woollett at charter.net>; "Maxima List" <maxima at math.utexas.edu>
Sent: Friday, November 14, 2008 10:13 PM
Subject: Re: [Maxima] New piecewise package in development


The orthopoly unit_step function autoloads (see src/max_ext.lisp); try
this:

 (%i1) trace(?load, load)$
 (%i2) map('unit_step,[-1,0,1]);
   1 Enter ?load [/5.16.3/share/orthopoly/orthopoly.lisp]
(%o2) [0,0,1]

If you redefine unit_step to be right continuous, you'll break a few things
in orthopoly.

Barton