Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 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!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 01/08/2010(UTC) Posts: 115 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
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
|
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
2 users thanked omorr for this useful post.
|
on 10/09/2016(UTC), on 10/09/2016(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: omorr 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 Utilities Matrix Mirror QUICK.sm (18kb) downloaded 35 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
Originally Posted by: mkraska 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.
|
2 users thanked Andrey Ivashov for this useful post.
|
on 20/09/2016(UTC), on 20/09/2016(UTC)
|
|
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.