Menu

#629 VECTORSIMP does not simplfy p~(q~r)

closed
nobody
5
2006-07-31
2004-10-21
Anonymous
No

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

Discussion

  • Barton Willis

    Barton Willis - 2004-10-25

    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

     
  • Robert Dodier

    Robert Dodier - 2006-07-31

    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).

     
  • Robert Dodier

    Robert Dodier - 2006-07-31
    • status: open --> closed
    • labels: 460521 --> Share Libraries
     

Log in to post a comment.