The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





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
Post Reply 


Messages In This Thread
Position of an element in a list of lists? - Didier Lachieze - 07-17-2015 03:53 PM



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