MathGroup Archive 2005

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

Search the Archive

Re: element selection

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53643] Re: [mg53605] element selection
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 21 Jan 2005 06:35:56 -0500 (EST)
  • References: <200501200847.DAA04095@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

Send a small example.

DrBob

On Thu, 20 Jan 2005 03:47:45 -0500 (EST), Bruyndonckx P. <pbruynd at vub.ac.be> wrote:

> I have two long sorted lists of Integers.  If the difference between a number in list 1 and a
> number in list 2 is less than a certain value, both are selected to create a couple.  I am
> looking for a fast way to go through both lists and extract these elements to create a new list
> of couples.  I tried a number of things, but all of them were rather slow so I need some expert
> advice here.
>
> Thx,
>
> Peter
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Preventing Times[x,x] from becoming Power[x,2]
  • Next by Date: Re: element selection
  • Previous by thread: element selection
  • Next by thread: Re: element selection