Post Reply 
Position of an element in a list of lists?
07-17-2015, 03:53 PM
Post: #1
Position of an element in a list of lists?
The POS function doesn't seem to work with a list of lists.

For example, with L1:={{1,2},{3,4}} then POS(L1,{1,2}) returns 0 and not 1 as I was expecting.

Is this normal?
Find all posts by this user
Quote this message in a reply
07-17-2015, 04:07 PM
Post: #2
RE: Position of an element in a list of lists?
In Home I typed CAS.POS(L1,{1,2}) and got 1. In cas view you don't need the CAS. in front of POS. Didn't try it in RPN view.
Find all posts by this user
Quote this message in a reply
Post Reply 




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