HP Forums
WP 34S: a litlle matrix helper to enter and review matrices - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: WP 34S: a litlle matrix helper to enter and review matrices (/thread-200343.html)



WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-08-2011

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


Re: WP 34S: a litlle matrix helper to enter and review matrices - Paul Dale - 10-08-2011

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


Re: WP 34S: a litlle matrix helper to enter and review matrices - Marcus von Cube, Germany - 10-09-2011

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?


Re: WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-09-2011

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


Re: WP 34S: a litlle matrix helper to enter and review matrices - Paul Dale - 10-09-2011

Two editors has to be better than one :-)

- Pauli


Re: WP 34S: a litlle matrix helper to enter and review matrices - Marcus von Cube, Germany - 10-09-2011

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.


Re: WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-09-2011

Great!!!

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

Regards,

Miguel


Re: WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-09-2011

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.


Re: WP 34S: a litlle matrix helper to enter and review matrices - Marcus von Cube, Germany - 10-09-2011

Quote:
Registers

R01: Index to acces elements through the matrix

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


Re: WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-09-2011

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.




Re: WP 34S: a litlle matrix helper to enter and review matrices - fhub - 10-09-2011

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.


Re: WP 34S: a litlle matrix helper to enter and review matrices - Miguel Toro - 10-09-2011

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

Thanks,

Miguel

Done!

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