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? |
|||
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.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)