(42S) Polynomial Operations
|
01-12-2019, 06:48 AM
Post: #5
|
|||
|
|||
RE: (42S) Polynomial Operations
(01-11-2019 03:51 PM)Albert Chan Wrote: Is the code basically synthetic divisions, applied 3 times ? I'd rather say it's Horner's method applied in parallel: \(\begin{matrix} 2 & -1 & 5 & 7 \\ 2 & -7 & 26 & -71 \\ 0 & 2 & -13 & 65 \\ 0 & 0 & 2 & -19 \end{matrix}\) Here are the stack diagrams of the relevant lines of code: Code: 09▸LBL 03 ; 2 2 0 0 ; -1 -7 2 0 ; 5 26 -13 2 According to hp42s: Quote:77 matrix wrap, first to last This is a marvel of stackrobatics. Thanks for sharing. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(42S) Polynomial Operations - Eddie W. Shore - 01-11-2019, 04:59 AM
RE: (42S) Polynomial Operations - Werner - 01-11-2019, 01:37 PM
RE: (42S) Polynomial Operations - Albert Chan - 01-11-2019, 03:51 PM
RE: (42S) Polynomial Operations - rprosperi - 01-12-2019, 12:27 AM
RE: (42S) Polynomial Operations - Dieter - 01-12-2019, 08:41 AM
RE: (42S) Polynomial Operations - Thomas Klemm - 01-12-2019 06:48 AM
RE: (42S) Polynomial Operations - rprosperi - 01-12-2019, 02:20 PM
|
User(s) browsing this thread: 1 Guest(s)