MathGroup Archive 2001

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

Search the Archive

Re: clever way to do a product?


n = 5;  j = 3;

Product[1/(x[i]-x[j]), {i, j-1}]*Product[1/(x[i]-x[j]), {i, j+1,  n}] == 

  Product[If[i == j, 1, 1/(x[i]-x[j])], {i, n}] ==  

  Product[1/(x[i]-x[j] + KroneckerDelta[i,  j]), {i, n}]

True

Bob Hanlon

In a message dated 2001/2/8 4:47:52 AM, drearyslig at hotmail.com writes:

>Does anyone know of a clever way where I can calculate a product, where
>i
>runs from 1 to n, except where i=j?


  • Prev by Date: Re: clever way to do a product?
  • Next by Date: Re: clever way to do a product?
  • Previous by thread: Re: clever way to do a product?
  • Next by thread: Re: clever way to do a product?