How to make Maxima evaluate a curl?



Barton Willis wrote:
> -----maxima-bounces at math.utexas.edu wrote: -----
> 
>> So after I take the curl, the output has the curl
>> as an operator. How do  I get it to actually evaluate the curl?
> 
> Try the function 'express'
> 
> (%i1) load(vect)$
> (%i2) scalefactors([[x,y,z],x,y,z])$
> (%i3) A:[0,0,a*exp(-%i*beta*x)]$
> (%i4) curl(A)$
> (%i5) express(%o4);
> (%o5) ['diff((a*%e^(-%i*beta*x)),y,1),-'diff((a*%e^(-%i*beta*x)),x,1),0]
> (%i6) %,diff;
> (%o6) [0,%i*a*beta*%e^(-%i*beta*x),0]
> 
> Barton

This seems to work quite well. Thanks a lot!

They key seems to be %i6. What is the secret of the comma and diff? Why 
does that make it evaluate the diffs? I can't seem to find any notes on 
the comma in the manual.