Multiplication with mathematica

  • Mathematica
  • Thread starter jtassilo
  • Start date
  • #1
14
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
 

Answers and Replies

  • #2
30,282
6,739
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.
 

Related Threads on Multiplication with mathematica

Replies
2
Views
3K
Replies
4
Views
3K
Replies
1
Views
6K
Replies
1
Views
3K
Replies
30
Views
5K
Replies
2
Views
3K
Replies
6
Views
7K
Replies
14
Views
9K
Top