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

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

#1 Pubblicato: 21/04/2016 10:27:24
Mike Kaganski

Mike Kaganski

184 apprezzamenti in 434 post.

Gruppo: User

Why does this give "Syntax is incorrect"?

syntaxIncorrect.sm (10,14 KiB) scaricato 1328 volta(e).
С уважением, Михаил Каганский
1 utenti hanno apprezzato questo post
Davide Carpi 21/04/2016 11:23:00
#2 Pubblicato: 21/04/2016 14:03:47
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Oh ! your coding is not very productive.

Forum Matrix [i,j].gif
#3 Pubblicato: 23/04/2016 00:00:00
CBG

CBG

78 apprezzamenti in 312 post.

Gruppo: User

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


sintaxis_sudbindice.png




Best regards
#4 Pubblicato: 23/04/2016 00:11:21
Mike Kaganski

Mike Kaganski

184 apprezzamenti in 434 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 29/04/2016 04:14:00
#5 Pubblicato: 10/05/2016 08:00:40
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 10/05/2016 12:04:19
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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

  • Nuovi post
  • Nessun nuovo post