Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15120

Re: Changing a list with the information of other

From sigismond kmiecik <sigismond.kmiecik@wanadoo.fr>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Changing a list with the information of other
Date 2013-07-03 22:03 +0000
Message-ID <kr2737$8u1$1@smc.vnet.net> (permalink)
References <kr0ore$3fd$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Alexei

How do you modify your code when some elements in lst2 are not included 
in lst1 ?

For example with lst1 unchanged
and
lst2 = {1, 1 + w, 2 + w, 2 w, 2, 2 + 2 w, z, zz};

the expected answer is to be
{0, 2, 7, 5, 4, 6}

Thanks

Sigismond Kmiecik



Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Changing a list with the information of other Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-07-03 08:54 +0000
  Re: Changing a list with the information of other sigismond kmiecik <sigismond.kmiecik@wanadoo.fr> - 2013-07-03 22:03 +0000

csiph-web