I set all the following flags to TRUE:
EXPANDALL, EXPANDDOT, EXPANDDOTPLUS,
EXPANDCROSS, EXPANDCROSSPLUS,
EXPANDCROSSCROSS, EXPANDGRAD, EXPANDGRADPLUS,
EXPANDGRADPROD,
EXPANDDIV, EXPANDDIVPLUS, EXPANDDIVPROD,
EXPANDCURL, EXPANDCURLPLUS,
EXPANDCURLCURL, EXPANDLAPLACIAN,
EXPANDLAPLACIANPLUS,
EXPANDLAPLACIANPROD
I input VECTORSIMP(p~(q~r)); at the prompt
The result was
WARNING: DECLARE VECTOR INDETERMINANTS
NONSCALAR TO AVOID ERRORS & TO GET FULL
SIMPLIFICATION
(D43)
0
Logged In: YES
user_id=895922
Is this what you wanted?
(%i1) load("vect");
(%
c:/msys/1.0/maxinstall/share/maxima/5.9.1.1cvs/share/vector
/vect.mac
(%i2) declare([p,q,r],nonscalar)$
(%i3) EXPANDCROSSCROSS : true$
(%i4) vectorsimp(p~(q~r));
(%o4) (p . r) q - (p . q) r
(%i5)
Barton
Logged In: YES
user_id=501686
load(vect);
declare([p,q,r],nonscalar);
expandall:true;
vectorsimp(p~(q~r));
=> p . r q - p . q r
Looks like the observed behavior is just due to (1) not
declaring nonscalar variables and (2) not enabling the
expandall flag or expandcrosscross flag. Closing this report
as rejected (not a bug).