Services & Resources / Wolfram Forums
MathGroup Archive
*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: element selection

  • To: mathgroup at
  • Subject: [mg53651] Re: element selection
  • From: hmichel at
  • Date: Fri, 21 Jan 2005 06:36:35 -0500 (EST)
  • Sender: owner-wri-mathgroup at

How long is the list?
Don't know what you tried already but

DeleteCases[Level[Outer[(If[(#1 - #2) ≤ - 10, {#1, #2}])&, Range[30], Range[10, 40]], {2}], Null]

Range[30] is list 1
Range[10,40] is list 2
-10 is difference of list 1 and list 2 you want to set for equivalence relation test.

Time this and see if it works for your list.


  • Prev by Date: PlotLegend not an option for PLot? 5.1
  • Next by Date: Saving the kernel state.
  • Previous by thread: Re: element selection
  • Next by thread: Re: element selection