MathGroup Archive 2006

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

Search the Archive

building a list provided the position of element is known

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67976] building a list provided the position of element is known
  • From: "Arkadiusz Majka" <Arkadiusz.Majka at telekomunikacja.pl>
  • Date: Thu, 20 Jul 2006 06:04:10 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I have two elements, say A and B and their positions in a three
dimensional list. Eg {1,3} means that position of A is 1 , position ob
is 3 and a list is given {A,_,B}. {3,2} corresponds to {_,B,A}, {3,3}
corresponds to {_,_,{A,B}}.

How can I code it in Mathematica using any number of elements and a
list of any length>0?

Thx,

Arek


  • Prev by Date: InputForm changes the order of output?
  • Next by Date: Re: How do declare real functions? Experimental`CompileEvaluate
  • Previous by thread: Re: InputForm changes the order of output?
  • Next by thread: Re: building a list provided the position of element is known