  Rank: Member Groups: Registered
Joined: 22/08/2018(UTC) Posts: 11
|
I'm not sure, but I think I might have found a bug:  I remember this used to work before. Am I doing something wrong? Edited by user 01 December 2022 11:01:35(UTC)
| Reason: Not specified
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 274  Was thanked: 91 time(s) in 57 post(s)
|
Originally Posted by: S0lo  I'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](/forum/resource.ashx?a=45695&b=2) Edit: A note about recursion. I do believe that Andrey limited the recursion depth that can take place. I think its somewhere around 50. Edited by user 30 November 2022 16:20:30(UTC)
| Reason: Not specified |
|
 1 user thanked alyles for this useful post.
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 274  Was thanked: 91 time(s) in 57 post(s)
|
Example of recursion limit. ![2022-11-30 07_47_11-SMath Solver - [Worksheet1_].png](/forum/resource.ashx?a=45696&b=2) |
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,318  Was thanked: 796 time(s) in 504 post(s)
|
|
 1 user thanked Razonar for this useful post.
|
|
|
  Rank: Member Groups: Registered
Joined: 22/08/2018(UTC) Posts: 11
|
Originally Posted by: alyles  Originally Posted by: S0lo  I'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](/forum/resource.ashx?a=45695&b=2) 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.
|
|
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,792  Was thanked: 974 time(s) in 802 post(s)
|
The Mathematica 4.0 Fibonacci recursion has Smath companion algo style.
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,318  Was thanked: 796 time(s) in 504 post(s)
|
Originally Posted by: Jean Giraud  The Mathematica 4.0 Fibonacci recursion has Smath companion algo style. That is not an example of recursion, that is an iterative method. Try googling something like "iterative vs recursive Fibonacci". Alvaro.
|
 2 users thanked Razonar for this useful post.
|
on 01/12/2022(UTC), on 01/12/2022(UTC)
|
|
 Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,792  Was thanked: 974 time(s) in 802 post(s)
|
|
|
|
|
  Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,318  Was thanked: 796 time(s) in 504 post(s)
|
|
 2 users thanked Razonar for this useful post.
|
on 02/12/2022(UTC), on 02/12/2022(UTC)
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.