Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline iveyj1  
#1 Posted : 22 October 2010 04:20:56(UTC)
iveyj1

Rank: Newbie

Groups: Registered
Joined: 22/10/2010(UTC)
Posts: 2

Folks,
Is there a way to cause matrix operations to be performed
element by element? For example if two matrices are
multiplied, the top-left element of the multiplicand
would be multiplied by the top-left element of the multiplier
and placed in the top-left element of the product, and
so on. In mathcad this can be done by pressing <ctrl> -
(vectorize).

Thanks,
Jack

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 22 October 2010 09:00:06(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

No, there is no element-wise matrix operations in Smath (like vectorize in Mathcad). You just have to use loops (for, while) to perform such operations.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline iveyj1  
#3 Posted : 23 October 2010 04:19:06(UTC)
iveyj1

Rank: Newbie

Groups: Registered
Joined: 22/10/2010(UTC)
Posts: 2

Ok, thanks for the quick response.

Is it possible to add operators via the plugin
mechanism or would that require a change to the core?

The reason I am interested in this functionality
is that I use it heavily in Mathcad to perform
similar calculations on a set of variables. The for
loop provides a similar functionality, but
the visual presentation is much more awkward,
unless I am missing something.

By the way, this is one of the best and most needed free
software I have come across.

Thanks,
Jack

Edited by user 23 October 2010 04:49:05(UTC)  | Reason: wrong nomenclature

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.