Vector x Vector Problem :S ?

Vector x Vector Problem :S ? - Vector x Vector giving me single answer as opposed to a column of answers - Messages

#1 Posted: 2015/1/19 07:16:12
bossman3333

bossman3333

0 likes in 2 posts.

Group: User

Hi all this is my first post.

First off. Great program !!

Now i have a problem and have been searching the web for around 1 hour for a solution.

I am trying to multiply a column with 18 values by another column with 18 values and get 18 results, but instead i get 1 ?

Thanks
Simon
help.jpg
#2 Posted: 2015/1/19 07:50:56
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

Hello bossman3333,

to make an element by element multiplication use a loop or use the diag() function on the first vector
2015-01-19 11_49_36-SMath Studio Desktop - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 2015/1/19 09:32:40
bossman3333

bossman3333

0 likes in 2 posts.

Group: User

Thanks !!!!
#4 Posted: 2015/1/19 12:53:38
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

You're welcome
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 2015/1/20 13:04:03
Ryan Freund

Ryan Freund

20 likes in 339 posts.

Group: User

Good to know about "diag()"

Is that new?
#6 Posted: 2015/1/20 14:26:10
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

nope, just rarely mentioned.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts
  • No New Posts