[SS-2342] cannot assign values to elements of nested matrices

[SS-2342] cannot assign values to elements of nested matrices - Messages

#1 Posted: 4/21/2016 10:27:24 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Why does this give "Syntax is incorrect"?

syntaxIncorrect.sm (10 KiB) downloaded 64 time(s).
С уважением, Михаил Каганский
1 users liked this post
Davide Carpi 4/21/2016 11:23:00 AM
#2 Posted: 4/21/2016 2:03:47 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Oh ! your coding is not very productive.

Forum Matrix [i,j].gif
#3 Posted: 4/23/2016 12:00:00 AM
CBG

CBG

77 likes in 312 posts.

Group: User

I think the mistake was put subscript to the subindex , Which I think is not allowed


sintaxis_sudbindice.png




Best regards
#4 Posted: 4/23/2016 12:11:21 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

My question is exactly WHY is that not allowed?
The "subindex" is actually a fancy representation of ordinary function: el(#,#) (or el(#,#,#)), that gives an element of its first argument. If this element happens to be a matrix, I expect that its sub-elements are accessible using next el(#,#,#):

el(el(M,k),1,1)
С уважением, Михаил Каганский
1 users liked this post
Davide Carpi 4/29/2016 4:14:00 AM
#5 Posted: 5/10/2016 8:00:40 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Added as SS-2342
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Posted: 5/10/2016 12:04:19 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think the mistake was put subscript to the subindex , Which I think is not allowed



Maybe like this

Forum MDA Create.gif

  • New Posts New Posts
  • No New Posts No New Posts