MathGroup Archive 2008

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

Search the Archive

Re: easier method for Flatten[Position[list2,x_x...??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94031] Re: easier method for Flatten[Position[list2,x_x...??
  • From: dr DanW <dmaxwarren at gmail.com>
  • Date: Tue, 2 Dec 2008 00:43:52 -0500 (EST)
  • References: <gh0jlg$5mu$1@smc.vnet.net>

Try:

Flatten[Map[Cases[list2, {#, p_} :> p] &, list1]]

Daniel


  • Prev by Date: Re: Strange behaviour of Fourier[] in Mathematica 7
  • Next by Date: Re: FFT in Mathematica
  • Previous by thread: Re: easier method for Flatten[Position[list2,x_x...??
  • Next by thread: Re: easier method for Flatten[Position[list2,x_x...??