1 страниц (9 вхождений)
Recursive functions not working - Recursive functions not working - Сообщения
#1 Опубликовано: 30.11.2022 08:53:58
#2 Опубликовано: 30.11.2022 09:40:43
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.
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 пользователям понравился этот пост
sergio 30.11.2022 11:16:00
#3 Опубликовано: 30.11.2022 09:48:02
#4 Опубликовано: 30.11.2022 14:11:53
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 пользователям понравился этот пост
Arie 30.11.2022 21:21:00
#5 Опубликовано: 30.11.2022 15:21:42
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.
#6 Опубликовано: 30.11.2022 18:10:45
#8 Опубликовано: 01.12.2022 14:42:17
Maths Sqrt(x) Heron DEMO.sm (11 КиБ) скачан 60 раз(а).
#9 Опубликовано: 01.12.2022 22:09:52
WroteMaths Sqrt(x) Heron DEMO.sm (11 КиБ) скачан 60 раз(а).
Either.
recursive_versus_iterative.sm (40 КиБ) скачан 82 раз(а).
Alvaro.
2 пользователям понравился этот пост
1 страниц (9 вхождений)
-
Новые сообщения
-
Нет новых сообщений