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

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

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

Mike Kaganski

184 me gusta en 434 mensajes.

Grupo: User

Why does this give "Syntax is incorrect"?

syntaxIncorrect.sm (10,14 KiB) descargado 1325 vez(es).
С уважением, Михаил Каганский
A 1 usuarios les gustó este mensaje
Davide Carpi 21/4/2016 11:23:00
#2 Publicado: 21/4/2016 14:03:47
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Oh ! your coding is not very productive.

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

CBG

78 me gusta en 312 mensajes.

Grupo: User

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


sintaxis_sudbindice.png




Best regards
#4 Publicado: 23/4/2016 0:11:21
Mike Kaganski

Mike Kaganski

184 me gusta en 434 mensajes.

Grupo: 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)
С уважением, Михаил Каганский
A 1 usuarios les gustó este mensaje
Davide Carpi 29/4/2016 4:14:00
#5 Publicado: 10/5/2016 8:00:40
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 10/5/2016 12:04:19
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

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

  • Nuevos mensajes
  • Sin mensajes nuevos