Re: Re: [Maxima] vect.mac problems



Hi Jack


> Cheers for the great reply. So by deleting these I guess you make the
> vector package operational? (I can't load it anyway Go so I have to use
> vect).

(%i1) load("vector_test.mac")$
(%i2) declare([u,v],nonscalar)$
(%i3) declare(phi,scalar)$
(%i4) grad(phi*v);
(%o4)                              [0, 0, 0]
OOP!
(%i5) depends([u,v],[x,y,z])$
(%i6) grad(phi*v);
                                dv      dv      dv
(%o6)                      [PHI --, PHI --, PHI --]
                                dx      dy      dz

Attached file: vector_test.mac