MathGroup Archive 2005

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

Search the Archive

Re: element selection


Peter:
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.

Hans



  • 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