Post Reply 
(19C/29C) (k-)Permutations, Combinations, Linear Regression and Pseudo-random number
01-15-2020, 06:57 PM (This post was last modified: 01-15-2020 07:51 PM by Archilog.)
Post: #3
RE: (19C/29C) (k-)Permutations, Combinations, Linear Regression and Pseudo-r... etc.
(01-15-2020 04:10 PM)Gene Wrote:  Great set of routines!

One suggestion on LBL 5 would be to consider dropping the FIX 2 step.

Another would be to consider getting away from the PI / Y^X generator as they are fairly poor per some tests done in the PPC Journal for getting a good distribution of outputs. Perhaps this?

Saves a step too in case a change elsewhere needs to be made.

But seriously, I love this combination of routines. Makes a great edition to the HP-19C/29C function set.

Once I get my LP HP-29C setup, this will be in memory.

Code:
91 LBL 5
92 9
93 9
94 7
95 *
96 FRAC
97 RTN

Thank you for your opinion, Gene. As you imagine, this last routine was almost only intended to complete the program zone - an economic behavior for every HP-29E (or LP 29C) user to benefit from each step of memory. I just copied it from my HP25 Applications Programs, yours is better, I totally agree.

I had decided to strongly distinguish every outputs by using a different display, but feel free to modify that!

Regards
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (19C/29C) (k-)Permutations, Combinations, Linear Regression and Pseudo-r... etc. - Archilog - 01-15-2020 06:57 PM



User(s) browsing this thread: 1 Guest(s)