List calculation

List calculation - Poruke

#1 Objavljeno: 16. 11. 2017. 13:14:55
pierre

pierre

2 svidjanja u 17 postova.

Grupa: 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 Objavljeno: 16. 11. 2017. 14:03:03
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1088 put(ova).
#3 Objavljeno: 16. 11. 2017. 14:15:17
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

pierre

2 svidjanja u 17 postova.

Grupa: 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 Objavljeno: 16. 11. 2017. 15:01:37
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Arie 16. 11. 2017. 17:11:00
#7 Objavljeno: 16. 11. 2017. 15:14:25
pierre

pierre

2 svidjanja u 17 postova.

Grupa: User

Thanks a lot for the explanation!

You made my day!




#8 Objavljeno: 16. 11. 2017. 18:52:33
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Wrote

You made my day!


Visit "Calculation in Table"
Read more in the 12 Smath work sheets attached.
  • Novi postovi
  • Nema novih postova