Multiplication with mathematica

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 8K views
jtassilo
Messages
14
Reaction score
0
Hi,
I want to multiply two lists of the format {a1,b1,c1...}*{a2,b2,c2...} to obtain the list {a1*a2,b1*b2,c1*c2,...}. I tried using . to multiply the two lists but that didn't work.
What command do I have to use to obtain the desired result?
Thanks
 
Physics news on Phys.org
a.b will give the scalar dot product of a and b. You want a b (space between a and b) or a*b either of which will give you the array multiplication of a and b.