| Author |
Comment/Response |
Tom
|
03/25/09 10:09pm
Hi,
It's easy to find the position of a SINGLE element in a list:
In: Position[ {x,2,x,y,4,y}, x ]
Out: {{1}, {3}}
I want to find the position of a list of elements inside of a larger list. For example,
In: myFunction[ {x,2,x,y,4,y}, {x,y} ]
Out: {{3}}
Thanks,
Tom
URL: , |
|