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} ]