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

[SS-2342] cannot assign values to elements of nested matrices - Сообщения

#1 Опубликовано: 21.04.2016 10:27:24
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

Why does this give "Syntax is incorrect"?

syntaxIncorrect.sm (10 КиБ) скачан 64 раз(а).
С уважением, Михаил Каганский
1 пользователям понравился этот пост
Davide Carpi 21.04.2016 11:23:00
#2 Опубликовано: 21.04.2016 14:03:47
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Oh ! your coding is not very productive.

Forum Matrix [i,j].gif
#3 Опубликовано: 23.04.2016 00:00:00
CBG

CBG

77 сообщений из 312 понравились пользователям.

Группа: User

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


sintaxis_sudbindice.png




Best regards
#4 Опубликовано: 23.04.2016 00:11:21
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Davide Carpi 29.04.2016 04:14:00
#5 Опубликовано: 10.05.2016 08:00:40
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 10.05.2016 12:04:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений