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: 1/19/2015 7:16:12 AM
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: 1/19/2015 7:50:56 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 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: 1/19/2015 9:32:40 AM
bossman3333

bossman3333

0 likes in 2 posts.

Group: User

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

Davide Carpi

1416 likes in 2873 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: 1/20/2015 1:04:03 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Good to know about "diag()"

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

Davide Carpi

1416 likes in 2873 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 New Posts
  • No New Posts No New Posts