Assigning custom properties



Thanks, that might help.

Rich


----- Original Message ----- 
From: "Barton Willis" <willisb at unk.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Maxima List" <maxima at math.utexas.edu>
Sent: Tuesday, September 30, 2008 11:08 PM
Subject: Re: [Maxima] Assigning custom properties


-----maxima-bounces at math.utexas.edu wrote: -----

>I would like to assign a property to an object or expression in Maxima
>that is not already known to Maxima. For example
>I would like to be able to say, declare(expr, 'piecewise) even though
>there is no such thing to Maxima.

Non-atoms cannot be declared, but you can do this:

 (%i1) declare(piecewise,feature)$
 (%i2) declare(f, piecewise)$
 (%i3) featurep(f, piecewise);
 (%o3) true

Barton