Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

Re: Position on a List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg12906] Re: [mg12845] Position on a List
  • From: BobHanlon at aol.com
  • Date: Wed, 24 Jun 1998 03:44:29 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Use a level specification (see on-line Help):

Position[{1/A, A}, A, {1}]


Bob Hanlon

In a message dated 6/17/98 1:19:15 AM, iaguirre at tsc.upna.es wrote:

>Supposed  a list:
>
>{1/A, A}
>
>When I do:   Position[{1/A, A}, A]
>
>I obtain:    {{1,1},{2}}
>
>But I would like to obtain only :  {{2}}


  • Prev by Date: characterencoding
  • Next by Date: NDSolve
  • Previous by thread: Re: Position on a List
  • Next by thread: RE: Position on a List