VECT



Thank you, Barton.

That seems to be odd behavior. I had expected grad, div, curl, laplacian, 
being  differential operators, to behave like diff and integrate and 
perform
the operation (act like a verb) and have a single quote make it act as a 
noun,.
that is,

  ' grad(x^2 + y^2 + z^2)  =>    grad(x^2 + y^2 + z^2)

   grad(x^2 + y^2 + z^2)  =>   [2*x, 2*y, 2*z]

Am I thinking about this wrong? Is changing this behavior
part of the planned improvement?

Tom



> <>I entered
>    grad(x^2 + y^2 + z^2);
> <>My input was played back as output, the noun form
> I suppose. How do I get to see the result?
>    (2*x, 2*y, 2*z)

Barton Willis wrote:

>(%o24) grad(z^2+y^2+x^2)
>(%i25) express(%);
>(%o25)
>['diff((z^2+y^2+x^2),x,1),'diff((z^2+y^2+x^2),y,1),'diff((z^2+y^2+x^2),z,1)]
>
>(%i26) %,diff;
>(%o26) [2*x,2*y,2*z]
>  
>