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

Re: Need a functional process for this.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55615] Re: Need a functional process for this.
  • From: bghiggins at ucdavis.edu
  • Date: Thu, 31 Mar 2005 01:24:15 -0500 (EST)
  • References: <d2dpdm$lsd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Steve,
Try ths

aa = {2, 5, 7, 9, 11};
bb = {{6, 4}, {9, 2}, {5, 6}, {3, 8}, {6, 5}};

DeleteCases[bb, {Alternatives @@ aa, x_} | {y_, Alternatives @@ aa}]

Cheers,

Brian


  • Prev by Date: Packages
  • Next by Date: Re: subtle dumb question
  • Previous by thread: Re: Need a functional process for this.
  • Next by thread: Re: Need a functional process for this.