MathGroup Archive 2000

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

Search the Archive

Re: Product with p!=j


guillerm at gugu.usal.es wrote:

> I have the following problem:
> 
> q[n_]:= Sum[1/Product[Subscript[k, p] - Subscript[k, j], {p, 1, 
> n}], {j, 1, n}], with p!=j
> 
> Any suggestions?.

Perhaps this will help:

In[1]:=
d[p_, j_] := If[p != j, 1/(Subscript[k, p] - Subscript[k, j]), 1]

In[2]:=
q[n_] = Sum[Product[d[p, j], {p, 1, n}], {j, 1, n}]

Tomas Garza
Mexico City


  • Prev by Date: How the customize the fonts in the menu?
  • Next by Date: Poisson Solver (in transformed coordinates)
  • Previous by thread: Product with p!=j
  • Next by thread: Re: Product with p!=j