broken vector.mac



On Tuesday 28 January 2003 02:07, Wolfgang Zocher wrote:
> Hi Valerij,
>
> > > can anyone give me a hint whats wrong with vector.mac?
> >
> > It seems to me the "vector.mac" is broken, You should use another one,
> > "vect.mac". To batch "vect.dem" please change in the first string there
> > from LOAD("VECT") to   LOAD("vect") (the cases conflict?).
>
> Yes, I saw the first two lines of vector.mac that the code is supposed to
> be broken and any try to load it ends up with an error message containing
> "cross is not a prefix operator".
>
> I tried to debug vector.mac; without any success. It seems to me that the
> IF construct at the very beginning of vector.mac is wrong... Alas, I'm not
> familiar with the dbl debugger (not yet, I'm learning to use it :-), so my
> conclusions may be wrong and I simply want to know what the Maxima gurus
> have to say ...
>
> Wolfgang
That's a good idea to debug and correct this package.
However, could you, please, explain your actual problem. Is it "vect.mac" not 
enough? If the case you might try the ctensr&itensor packages. You could get 
a complete solution with them : 1)formulate (or obtain) the indicial 
expression, 2)then proceed it with generate() and 3) get the coordinate 
expression for it 
with ctensr. The commercial macsyma's able to get 4)  the finite differences 
for the vector's operator

rgds,
v