I don't view this as a bug, since
map(exp,a=b) or
map(lambda([x],%e^x),a=b);
does what you would seem to want.
Since exp is not really a function of one argument -- it is ?mexpt(%e,x),
there is not necessarily a natural mapping operation over structures, e.g.
what does [a,b]^[c,d] mean, really?
So if you want Sage to do something, you can easily put it in Sage.
There are an unlimited number of ideas that could be put into Maxima,
or Sage. I would prefer to see effort expended on good ideas that
need hard work, not what constitutes (in my opinion) minor embroidery.
Implementing something equivalent to Mathematica's Reduce for example,
would be nice.
RJF
On 8/8/2011 5:50 AM, Karl-Dieter Crisman wrote:
> On Sat, Aug 6, 2011 at 6:29 PM, Robert Dodier<robert.dodier at gmail.com> wrote:
>> On 8/6/11, Richard Fateman<fateman at eecs.berkeley.edu> wrote:
>>
>>> On 8/6/2011 12:05 PM, Robert Dodier wrote:
>>>> ute over lists, matrices, and equations, while exp is not so declared.
>>>> You can get the desired effect like this in a Maxima session, or just
>>>> put the Lisp code in maxima-init.lisp. :lisp (setf (get '%exp
>>>> 'distribute_over) '(mlist mequal))
>>> Unfortunately this works only if you write exp(a=b) but not %e^(a=b).
>> Yup, and if I try the same thing with MEXPT, it doesn't work
>> (probably because MEXPT takes 2 arguments? not sure).
>>
>> I guess it would probably take some Lisp hacking to get
>> the desired effect for exp, then.
>>
> Thanks for these comments, that clarifies things a lot.
>
> Is getting exp to expand over equalities/lists something I should
> consider a Maxima bug/enhancement, or just a user option? (In
> particular, should I open a Maxima ticket for this, or just put on our
> ticket that we would want to hack our own copy of Sage?)
>
> Thanks!