1 pagine (9 elementi)
Recursive functions not working - Recursive functions not working - Messaggi
WroteI'm not sure, but I think I might have found a bug:
I remember this used to work before. Am I doing something wrong?
You need to use line operator in function definition.
![2022-11-30 07_40_07-SMath Solver - [Worksheet1_].png](/it-IT/files/Download/BAc5be/2022-11-30-07_40_07-SMath-Solver---[Worksheet1_].png)
Edit: A note about recursion. I do believe that Andrey limited the recursion depth that can take place. I think its somewhere around 50.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 utenti hanno apprezzato questo post
sergio 30/11/2022 11:16:00
Hi. Every CAS should have a recursion limit. The point would be to be able to control it, like in Mathematica: https://reference.wolfram.com/language/ref/$RecursionLimit.html
Best regards.
Alvaro.
Best regards.
Alvaro.
1 utenti hanno apprezzato questo post
Arie 30/11/2022 21:21:00
WroteWroteI'm not sure, but I think I might have found a bug:
I remember this used to work before. Am I doing something wrong?
You need to use line operator in function definition.
Edit: A note about recursion. I do believe that Andrey limited the recursion depth that can take place. I think its somewhere around 50.
Thanks!! How did I forget that. heh.
2 utenti hanno apprezzato questo post
Maths Sqrt(x) Heron DEMO.sm (11,66 KiB) scaricato 1584 volta(e).
WroteMaths Sqrt(x) Heron DEMO.sm (11,66 KiB) scaricato 1584 volta(e).
Either.

recursive_versus_iterative.sm (40,78 KiB) scaricato 1654 volta(e).
Alvaro.
2 utenti hanno apprezzato questo post
1 pagine (9 elementi)
- Nuovi post
- Nessun nuovo post


![2022-11-30 07_47_11-SMath Solver - [Worksheet1_].png](/it-IT/files/Download/kbM84b/2022-11-30-07_47_11-SMath-Solver---[Worksheet1_].png)