MathGroup Archive 2006

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

Search the Archive

Re: List difference using patterns and substitutions.


(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.