Question: How can I calculate this product?

m(x[i]) = product(x[i]-x[j], j = 1 .. N)              i <> j

ex:

for N=4

m(x[2]) = (x[2]-x[1])*(x[2]-x[3])*(x[2]-x[4])

Thanks 

Please Wait...