Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 2006

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

Search the Archive

Re: List difference using patterns and substitutions.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71374] Re: List difference using patterns and substitutions.
  • From: "Nacho" <ncc1701zzz at gmail.com>
  • Date: Thu, 16 Nov 2006 00:53:02 -0500 (EST)
  • References: <ejc53g$6qf$1@smc.vnet.net>

Hello all.

Thanks a lot for all the replies I have received from you.

I see that the rule substitution here is not practical. I though that
it could be a simple way, just I could not find it. But I see that
there are better approach.

The most simplier, removing the first element and substracting both
list, is very nice! I didn't figure it.

ListCorrelate is great too. I suppose that it uses much less memory
that removing the first element (that I suppose, it creates another
array in memory), with a big list.

Well, thanks again for your answers. I'll use all of them (at least, to
learn ;) )

Regards.


  • Prev by Date: Re: Function defined with If
  • Next by Date: VerifySolutions setting
  • Previous by thread: Re: List difference using patterns and substitutions.
  • Next by thread: Re: Comparison of Mathematica on Various Computers