product rule for diff



How the vector product is differentiated is controlled by a variable
called vect_cross:

(%i1) load(vect)$
(%i2) depends([X,Y], t)$
(%i3) diff(X~Y, t);
(%o3) 'diff(X~Y,t,1)
(%i4) vect_cross:true;
(%o4) true
(%i5) diff(X~Y, t);
(%o5) ('diff(X,t,1))~Y+X~('diff(Y,t,1))

The vect package should probably set vect_cross to true.

HTH,

Andrej

On Jan 28, 2008 6:58 PM, Thomas Widlar <twidlar at yahoo.com> wrote:
> We are trying to learn the Maxima vector package.
> Looking at output lines %o8 and %o11 in the attached
> wxmaxima pdf, we see
>
> o the product rule of  differentiation is applied for
> the scalar product (%o11).
> o but it is not applied for the vector product (%o8).
>
> What are we doing wrong?
>
> Thanks
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima