Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.1K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

expansion formula

Posted 11 years ago
POSTED BY: Ale Mkz
2 Replies

In Mathematica the dot is used for inner product between two vectors. For your purpose use the asterisk * (or nothing at all, in this case):

a*{1, 1} + b*{3, 4}
a{1, 1} + b{3, 4}
POSTED BY: Gianluca Gorni
In[2]:= Clear[a, b]
a {1, 1} + b {3, 4}

Out[3]= {a + 3 b, a + 4 b}

In[4]:= Times[a, {1, 1}] + Times[b, {3, 4}]
Out[4]= {a + 3 b, a + 4 b}
POSTED BY: Udo Krause
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard