1 páginas (9 elementos)
Recursive functions not working - Recursive functions not working - Mensajes
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](/es-ES/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
A 1 usuarios les gustó este mensaje
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.
A 1 usuarios les gustó este mensaje
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.
A 2 usuarios les gustó este mensaje
Maths Sqrt(x) Heron DEMO.sm (11,66 KiB) descargado 1577 vez(es).
WroteMaths Sqrt(x) Heron DEMO.sm (11,66 KiB) descargado 1577 vez(es).
Either.

recursive_versus_iterative.sm (40,78 KiB) descargado 1648 vez(es).
Alvaro.
A 2 usuarios les gustó este mensaje
1 páginas (9 elementos)
- Nuevos mensajes
- Sin mensajes nuevos


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