MathGroup Archive 2006

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

Search the Archive

Re: a simple product, but with "i = 1...n AND i != x"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70256] Re: a simple product, but with "i = 1...n AND i != x"
  • From: "xarnaudx at gmail.com" <xarnaudx at gmail.com>
  • Date: Tue, 10 Oct 2006 06:12:06 -0400 (EDT)
  • References: <egcok5$je2$1@smc.vnet.net>

thanks for all your replies guys!

the simpliest way to do so is:
f[x_] := Product[If[i != x, x - i, 1], {i, 1, n} ]


  • Prev by Date: Re: Convert from String to variable
  • Next by Date: Re: a simple product, but with "i = 1...n AND i != x"
  • Previous by thread: Re: a simple product, but with "i = 1...n AND i != x"
  • Next by thread: Re: a simple product, but with "i = 1...n AND i != x"