How to expand or verbify it?



Just write

res1,transpose;

or

res1,nouns;


to evaluate transpose() in your expression. (The expand() function has
nothing to do with evaluating noun forms.)


Viktor



-----Original Message-----
From: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu]
On Behalf Of Zbigniew Komarnicki
Sent: Friday, June 15, 2012 12:44 PM
To: maxima at math.utexas.edu
Subject: How to expand or verbify it?

Hello,

how to handle such problem. After some substitutions I obtain such result:
mP . 'transpose(A . B + C);

where is the sign ' is before the transpose function and this cause the 
problem to me when I do:
(%i413) res1: P . 'transpose(A . B + C);
(%o413)     P . transpose(C + A . B)

and try to expand the result 
(%i414) expand(res1);
(%o414)    P . transpose(C + A . B)

the command expand do not work. If I do 
(%i417) ''res1;
(%o417)       P . transpose(C + A . B)
(%i418) verbify(res1);

verbify: argument must be a symbol or a string; found: P . transpose(C + A .

B)
 -- an error. To debug this try: debugmode(true);

How to expand it ? How to remove the sign ' before transpose function to 
obtain such result as below ? 

If I write without the sign ' before transpose it works as expected:
(%i421) res2: P . transpose(A . B + C);
(%o421)       P . (transpose(C) + transpose(B) . transpose(A))
(%i422) expand(res2);
(%o422)       P . transpose(C) + P . transpose(B) . transpose(A)


Thanks,
Zbigniew 
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima