HP-41: Formula Evaluation ROM
|
06-11-2017, 09:16 AM
(This post was last modified: 06-12-2017 11:17 AM by Ángel Martin.)
Post: #16
|
|||
|
|||
RE: HP-41: Formula Evaluation ROM
(06-10-2017 08:34 PM)JurgenRo Wrote: Awesome! Simply awesome! Thanks a lot for the new gem!! Glad to see it's appreciated, a lot of work went into it! BTW I recently added more examples in the ROM, for the most common Orthogonal polynomials. The routines won't beat the speed of the MCODE-based functions in the SandMath and SandMatrix, but show how to use EVAL$ in a DSE-controlled loop. Here's the code, including Legendre LEG$, Hermite HMT$, and Chebyshev's 1st. & 2nd. kinds HNX$, UNX$ - all four in 50 steps, not bad at all. Enter the order "n" in Y and the argument "x" in X, then execute the routine. The result is left in X, and the previous order result in LastX. No data registers used. Code: 1 LBL "LEG$ "To live or die by your own sword one must first learn to wield it aptly." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)