1 Pages (9 items)
Recursive functions not working - Recursive functions not working - Messages
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](/zh-Hans-CN/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 users liked this post
sergio 2022/11/30 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 users liked this post
Arie 2022/11/30 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 users liked this post
Maths Sqrt(x) Heron DEMO.sm (11.66 KiB) downloaded 847 time(s).
WroteMaths Sqrt(x) Heron DEMO.sm (11.66 KiB) downloaded 847 time(s).
Either.

recursive_versus_iterative.sm (40.78 KiB) downloaded 891 time(s).
Alvaro.
2 users liked this post
1 Pages (9 items)
- New Posts
- No New Posts


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