Post Reply 
HP 34S: Find an element in a matrix?
05-22-2014, 06:10 AM
Post: #2
RE: HP 34S: Find an element in a matrix?
From the code I'd say: ( y mat -> r )
Where mat is a matrix descriptor and y is the element you search.

Cheers
Thomas

Code:
/* Find a specified element in a matrix
 */
            LBL'MFD'
            ABS
            M-ALL
            x[<->] Y
m_find_loop::       x=?[->]Y
            JMP m_found
            ISG Y
            JMP m_find_loop
m_found::       DROP
            RTN
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 34S: Find an element in a matrix? - Thomas Klemm - 05-22-2014 06:10 AM



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