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

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

Search the Archive

List element replacement.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51980] List element replacement.
  • From: "Robert G. Wilson v" <rgwv at rgwv.com>
  • Date: Sat, 6 Nov 2004 02:07:45 -0500 (EST)
  • Reply-to: rgwv at rgwv.com
  • Sender: owner-wri-mathgroup at wolfram.com

Et al,

	HELP, I tried this once before but what I received back I could not make it work. 
Therefore I am following the adage that if at first you do not succeed then wait 
awhile, rethink, restate and resubmit.

	I have three lists of objects, sorted but not unioned, that is there are elements 
which will be repeated. Let us label them 'initial' list, 'compare' list, and 
'replace' list. If all of the elements in the 'compare' list, including repeats, 
are in the 'initial' list, then remove those elements and put in the elements from 
the 'replace' list.

Thank you in advance,

Bob.


  • Prev by Date: Passing from adjacency list to triangle index list
  • Next by Date: Re: reuse values maximize
  • Previous by thread: Passing from adjacency list to triangle index list
  • Next by thread: Re: List element replacement.