Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Finding Position in an ordered list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57720] Finding Position in an ordered list
  • From: janostothmeister at gmail.com
  • Date: Mon, 6 Jun 2005 04:21:28 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I wonder if it is possible to use the knowledge
that a list in which I am looking for the position
of an element is ordered. I want a quicker solution then e.g.
lis={ac,dmk,rfg,sty,zxxer}
Position[lis,sty]

I am certainly interested in longer lists...

Thank you,

Janos



  • Prev by Date: Re: Constrained Optimization
  • Next by Date: automatic slide shift
  • Previous by thread: plugin
  • Next by thread: Re: Finding Position in an ordered list