#2265 scalar product with a list

open
nobody
None
5
2012-11-18
2011-08-27
Eduardo G.
No

maxima 5.22.1 in ubuntu 11.04 (and debian squeeze). I tried in windows in the same maxima version and it worked well
when i'd a product of a scalar number and a list i get :
(%i47) 3*[a,b,c];
(%o47) [3 a, 3 b, 3 c]
(%i48) x*[a,b,c];
(%o48) [a x, b x, c x]
(%i49) x[1]*[a,b,c];
(%o49) x [a, b, c]
1
would expect that the result %o49 was [x a, x b, x c] but is not. the same happen with x[1](t)*[a,b,c]
1 1 1

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks