Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15004

Re: Position[] bug or feature ?

From stephen.p.luttrell@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Position[] bug or feature ?
Date 2013-06-25 06:51 +0000
Message-ID <kqbekv$fo1$1@smc.vnet.net> (permalink)
References <kq8c5l$6o9$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


This will do what you want

Position[{{1, 2}, {2, 3}, {1, 4}}, _?(EvenQ[#[[2]]] &), {1}, Heads -> False]

Stephen Luttrell

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

Position[] bug or feature ? roby <roby.nowak@gmail.com> - 2013-06-24 02:50 +0000
  Re: Position[] bug or feature ? roby <roby.nowak@gmail.com> - 2013-06-25 06:53 +0000
  Re: Position[] bug or feature ? stephen.p.luttrell@gmail.com - 2013-06-25 06:51 +0000

csiph-web