List calculation

List calculation - Mensajes

#1 Publicado: 16/11/2017 13:14:55
pierre

pierre

2 me gusta en 17 mensajes.

Grupo: 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 Publicado: 16/11/2017 14:03:03
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,69 KiB) descargado 1064 vez(es).
#3 Publicado: 16/11/2017 14:15:17
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

vectorize.PNG
#4 Publicado: 16/11/2017 14:18:27
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

VectorizeComplex.PNG
#5 Publicado: 16/11/2017 14:42:21
pierre

pierre

2 me gusta en 17 mensajes.

Grupo: 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 Publicado: 16/11/2017 15:01:37
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Arie 16/11/2017 17:11:00
#7 Publicado: 16/11/2017 15:14:25
pierre

pierre

2 me gusta en 17 mensajes.

Grupo: User

Thanks a lot for the explanation!

You made my day!




#8 Publicado: 16/11/2017 18:52:33
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

You made my day!


Visit "Calculation in Table"
Read more in the 12 Smath work sheets attached.
  • Nuevos mensajes
  • Sin mensajes nuevos