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

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline omorr  
#21 Posted : 10 September 2016 14:34:35(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)
Although I am very satisfied with this feature, I have to agree with Martin. It might be a bit confusing this way, because the row-wise indexing for matrices as indexes is more expected than column-wise.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline frapuano  
#22 Posted : 10 September 2016 14:59:51(UTC)
frapuano


Rank: Advanced Member

Groups: Registered
Joined: 01/08/2010(UTC)
Posts: 115
Man
Italy
Location: Rome

Was thanked: 13 time(s) in 13 post(s)
..Probably I ma stupid but I haven't clearly understood the syntax of the command and how to use it ( ..and so the Andrey's examples) .

If there is someone that can take a moment to explain this , it would be very appreciated

Best regards

Franco
Offline omorr  
#23 Posted : 10 September 2016 15:24:19(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 Franco,

Just play with this a bit, and you will figure out Good

Extract Matrix with matrix indices

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 2 users thanked omorr for this useful post.
on 10/09/2016(UTC),  on 10/09/2016(UTC)
Offline Jean Giraud  
#24 Posted : 10 September 2016 17:51:19(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: omorr Go to Quoted Post
I hoped this might be the most simplest way.


Not so easy ! At the machine code, everything is linear.
That's what the "ct" counter does system wise, then returned
math style. Just a bit more about Delta matrix. The JPG
explanation is short, just the principle of it. There is lot
more behind the scene.

Jean

Matrix Delta.gif

Utilities Matrix Mirror QUICK.sm (18kb) downloaded 35 time(s).



thanks 1 user thanked Jean Giraud for this useful post.
on 10/09/2016(UTC)
Offline Andrey Ivashov  
#25 Posted : 20 September 2016 00:59:53(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: mkraska Go to Quoted Post
The sandbox example shows the use of matrices as indices. The question is, how the rules for such indices are.

A straightforward rule would be that whatever you provide as index structure, it is accessed by linear indexing from 1..length() of the index structure.

The following example shows that the actual behaviour is different. The index matrices are indexed column-wise and not row-wise as the usual linear indexing works.

I propose to change this in order to be consistent with general linear indexing.

Thank you! Fixed by Davide.

Best regards.
thanks 2 users thanked Andrey Ivashov for this useful post.
on 20/09/2016(UTC),  on 20/09/2016(UTC)
Users browsing this topic
Guest
2 Pages<12
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.