Search found 21 matches

by Epidiah
Mon Nov 04, 2019 3:26 pm
Forum: Software Library
Topic: Pricing calculations
Replies: 11
Views: 10143

Re: Pricing calculations

A quick and dirty solution to this is to use two smaller programs in the Solver. This... 00 { 37-Byte Prgm } 01▸LBL "*MU" 02 MVAR "PRC" 03 MVAR "CST" 04 MVAR "MU" 05 RCL "CST" 06 RCL "MU" 07 % 08 + 09 RCL- "PRC" 10 END And this......
by Epidiah
Wed Oct 30, 2019 8:06 pm
Forum: Software Library
Topic: User Flag Catalog
Replies: 4
Views: 5509

Re: User Flag Catalog

After plugging all this into the forum, I realized it would be easy to make the program slightly more user friendly by having it generate an empty UFLAG matrix if there doesn't happen to be one. That way you can just load the program into a new state without having to go through the trouble of makin...
by Epidiah
Wed Oct 30, 2019 7:38 pm
Forum: Software Library
Topic: User Flag Catalog
Replies: 4
Views: 5509

Re: User Flag Catalog

DM42 has supported Local Variables (LSTO) since Ver 3.14 in July (based on Free42 v2.2). Is there some later enhancement to Free42 you are using? If not, it should work the same as on Free42, assuming you've installed 3.14 onto your DM42. You're absolutely right! I got a bit mixed up about about wh...
by Epidiah
Wed Oct 30, 2019 7:00 pm
Forum: Software Library
Topic: User Flag Catalog
Replies: 4
Views: 5509

User Flag Catalog

Lately I've been finding myself creating states for my calculator that serve specific purposes. Sometimes this includes suites of programs that work together sharing variables and user flags. Here's a program I whipped up to help me keep notes on what some of the user flags mean to the programs I ha...
by Epidiah
Sat Oct 12, 2019 7:55 pm
Forum: Usage tips, tricks and problem reports
Topic: First Entry into Matrix Pushes Stack
Replies: 17
Views: 14089

Re: First Entry into Matrix Pushes Stack

Oooooh! I think I get it. It's not the fact that a matrix is in ST Y, but the fact that I hit enter to put it there. Yup, just double checked by STO ST Y instead of entering, and it lifts the first entry as expected. And EDITN behaves the same way. I think what was throwing me off there was how EDIT...
by Epidiah
Sat Oct 12, 2019 6:33 pm
Forum: Usage tips, tricks and problem reports
Topic: First Entry into Matrix Pushes Stack
Replies: 17
Views: 14089

Re: First Entry into Matrix Pushes Stack

Apologies for resurrecting this thread, but I was playing around with matrices again and noticed some behavior that seems inconsistent. So, I'm multiplying a couple 2×2 matrices. The easiest way, for me, seemed to be… 2 ENTER NEWMAT EDIT …then mess around inside the editor to fill my first matrix. A...
by Epidiah
Sat Oct 12, 2019 12:00 am
Forum: Usage tips, tricks and problem reports
Topic: Row Swapping With Nonexistent Rows
Replies: 5
Views: 5106

Re: Row Swapping With Nonexistent Rows

Thank you!

Looks like I managed to hop right into that edge case. I'll endeavor to be less sloppy with my arithmetic in the future.
by Epidiah
Fri Oct 11, 2019 7:23 pm
Forum: Usage tips, tricks and problem reports
Topic: Row Swapping With Nonexistent Rows
Replies: 5
Views: 5106

Row Swapping With Nonexistent Rows

I was writing a program to create random permutation matrix by taking an identity matrix and going through a row at a time, swapping the current row with a random row further down the matrix. I did a little arithmetic wrong and instead of choosing a random row from the current to the end of the matr...
by Epidiah
Fri Oct 05, 2018 9:01 pm
Forum: Usage tips, tricks and problem reports
Topic: Attack of the Clones!
Replies: 1
Views: 2044

Re: Attack of the Clones!

It happened again. So I reloaded the calculator state and that seems to have fixed it.
by Epidiah
Fri Oct 05, 2018 2:18 am
Forum: Usage tips, tricks and problem reports
Topic: Attack of the Clones!
Replies: 1
Views: 2044

Attack of the Clones!

I just got this weird error. When I keyed digits into the X register, the same digits got keyed into the Y and T registers. Here's a link to a video of it: https://youtu.be/1--HPffPEUc Shortly after this I created a matrix with NEWMAT to see if that would replicate as well and the problem disappeare...