[VA] SRC #012a - Then and Now: Probability
|
10-14-2022, 07:35 AM
Post: #37
|
|||
|
|||
RE: [VA] SRC #012a - Then and Now: Probability
(10-13-2022 11:27 PM)Valentin Albillo Wrote:Vincent Weber Wrote:Before posting my code in another thread, let me try to remember how to convert a recursive algorithm into an iterative one Hi Valentin, Unfortunately I have to renounce making an interative solution for the vanilla 17B/27S. I realize that this would require full indirect addressing of registers. By full I mean read and write. But the HP solver only allows reading values of a list indirectly (with ITEM[I]), not writing them (the L(ITEM[I] :X) construct, while straightforward, is illegal). Why HP didn't allow this, which would have brought their powerful and elegant solver language to Turing-compatibility level to solve any kind of problems, is beyond me... Of course Plus42 allows this construct, but is out of the competition, so I renounce this. But I might try to implement my recursive algorithm in RPL and see how it performs Best regards |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 13 Guest(s)