List calculation

List calculation - Сообщения

#1 Опубликовано: 16.11.2017 13:14:55
pierre

pierre

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

Группа: User

Hello,

Could you tell me if their is any way to loop through a list the Way mathcad does with the I:=0..n, as a "global" methode (not inside a formula).
Below a screenshot of the case
Image explicative

Thank you for your help
#2 Опубликовано: 16.11.2017 14:03:03
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Could you tell me if their is any way to loop through a list



No limit, even from more savant list.

hello.PNG

ODE rkf Integrate [rkf4 2 parameters Algo].sm (120 КиБ) скачан 44 раз(а).
#3 Опубликовано: 16.11.2017 14:15:17
Jean Giraud

Jean Giraud

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

Группа: User

vectorize.PNG
#4 Опубликовано: 16.11.2017 14:18:27
Jean Giraud

Jean Giraud

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

Группа: User

VectorizeComplex.PNG
#5 Опубликовано: 16.11.2017 14:42:21
pierre

pierre

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

Группа: User

Thanks for your reply.

I think i need to be more specific with my question.
I will make an exemple extracted from the internet (page 16)

link to the PDF

Image

As you can see the loop is done for the whole spreadsheet, and it makes calculation notes a lot clearer.

#6 Опубликовано: 16.11.2017 15:01:37
Davide Carpi

Davide Carpi

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

Группа: Moderator

Here you have:

2017-11-16 14_22_47-Page2 - SMath Studio in the Cloud.png


The arrow over the math is the function vectorize(), and that's what you need to apply the elements of the ranges avoiding loops (that is the other way to accomplish the task)

2017-11-16 14_27_03-Page2 - SMath Studio in the Cloud.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Arie 16.11.2017 17:11:00
#7 Опубликовано: 16.11.2017 15:14:25
pierre

pierre

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

Группа: User

Thanks a lot for the explanation!

You made my day!




#8 Опубликовано: 16.11.2017 18:52:33
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

You made my day!


Visit "Calculation in Table"
Read more in the 12 Smath work sheets attached.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений