HP Forums

Full Version: WP 34S: a litlle matrix helper to enter and review matrices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi,

Nothing fancy here, just a little routine to help entering and reviewing matrice for the WP 34s, based on the MIO application of the PPC ROM.

Hope you find it useful and please, any comment to improve it, is very very welcome.

Miguel


Edited: 8 Oct 2011, 11:59 p.m. after one or more responses were posted

Marcus wrote a small matrix editor for the 34S. It is in the library directory on subversion at sourceforge.

I've no idea how the two compare -- I've used neither so far :)


- Pauli

Mine ('MED') doesn't allow the sequential input of all elements. You need to navigate there with the arrows, start typing, press R/S, then one of the arrows again to go to the next element. Entering a single element needs either arrow navigation or manually setting I and J as the indexes.

What I don't like with your routine, Miguel, is that you have to press the function key, then enter the matrix descriptor and then R/S. Why not just enter the descriptor and then press the function key?

You are correct. I will make the changes in the routine and the article.

Thank you Marcus.

Done!


Edited: 9 Oct 2011, 7:54 a.m. after one or more responses were posted

Two editors has to be better than one :-)

- Pauli

Quote:
Review an individual element of a matrix
BB.RRCC // Matrix descriptor
[C]
Row number (i)
[ENTER]
Column number (j)
[R/S]
--> Element value in X

Review an individual element of a matrix
BB.RRCC // Matrix descriptor
[D]
Row number (i)
[ENTER]
Column number (j)
[R/S]
New element value [R/S]


If you look closely at these two, they are completely identical from the user's point of view. The only difference is that he has to enter a value and press R/S again if he wants to update the cell. So why not just ditch [D] and add a STO operation just after the last STOP in [C]? If the user just wants to see an element he does not enter any new data.


Quote:
014 FIX 00
015 CL[alpha] // shows the next element indexes
016 [alpha]RC# X
017 [alpha]RC# Y
018 FIX[->]02

This can be replaced by [alpha]IP which appends only the integer part. You need to add a delimiter.

Great!!!

I will do the changes. Thank you very much Marcus.

Regards,

Miguel

I made a major overhaul of the routine (Marcus von Cube being the culprit of that :-) ). The routine is simpler for the user and easy on resources for the WP 34s.

Thank you Marcus,

Miguel

Edited: 9 Oct 2011, 11:06 a.m.

Quote:
Registers

R01: Index to acces elements through the matrix

You get in trouble with a matrix starting in R00 or R01.

Yes,

It intended to begin at R10 so there are some registers left to do other things. I will write a comment, so at least leave R0 and R1 free.

Quote:
Yes,

It intended to begin at R10 so there are some registers left to do other things. I will write a comment, so at least leave R0 and R1 free.


Why don't you use register I instead of R1? Then you won't have any restrictions where the matrix is located.

Mince alors! I always forget about that. Certainly. I will change that.

Thanks,

Miguel

Done!

Edited: 9 Oct 2011, 2:11 p.m.