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: [mg71343] Re: List difference using patterns and substitutions.
  • From: "curver" <do_it_78 at hotmail.com>
  • Date: Wed, 15 Nov 2006 06:44:12 -0500 (EST)
  • References: <ejc53g$6qf$1@smc.vnet.net>

(1) In[3]:=  (7:57:36 on 11/15/06)
Subtract@@Reverse[#]&/@Partition[{1,2,3,5,5},2,1]

(1) Out[3]=  (7:57:36 on 11/15/06)
{1,1,2,0}


  • Prev by Date: Binomial Distribution
  • Next by Date: Function defined with If
  • Previous by thread: Re: List difference using patterns and substitutions.
  • Next by thread: Re: List difference using patterns and substitutions.