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