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

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

#1 Objavljeno: 21. 4. 2016. 10:27:24
Mike Kaganski

Mike Kaganski

184 svidjanja u 434 postova.

Grupa: User

Why does this give "Syntax is incorrect"?

syntaxIncorrect.sm (10,14 KiB) preuzeto 1360 put(ova).
С уважением, Михаил Каганский
1 korisnika je svidelo ovu objavu
Davide Carpi 21. 4. 2016. 11:23:00
#2 Objavljeno: 21. 4. 2016. 14:03:47
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Oh ! your coding is not very productive.

Forum Matrix [i,j].gif
#3 Objavljeno: 23. 4. 2016. 00:00:00
CBG

CBG

78 svidjanja u 312 postova.

Grupa: User

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


sintaxis_sudbindice.png




Best regards
#4 Objavljeno: 23. 4. 2016. 00:11:21
Mike Kaganski

Mike Kaganski

184 svidjanja u 434 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Davide Carpi 29. 4. 2016. 04:14:00
#5 Objavljeno: 10. 5. 2016. 08:00:40
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 10. 5. 2016. 12:04:19
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

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

  • Novi postovi
  • Nema novih postova