MathGroup Archive 2005

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

Search the Archive

Re: "Alternating" function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63280] Re: "Alternating" function
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Thu, 22 Dec 2005 00:04:43 -0500 (EST)
  • References: <doamp5$em8$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

Try

Fold[x + (-1)^#2*f[#1] & , x, Range[{5}]]

David Bailey
http://www.dbaileyconsultancy.co.uk



  • Prev by Date: Re: Unexpected behavior of Simplify
  • Next by Date: Converting Strings to Ints.
  • Previous by thread: Re: "Alternating" function
  • Next by thread: Re: "Alternating" function