MathGroup Archive 2009

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

Search the Archive

Re: problem with Sum


try e.g.:

Sum[a[k], {k, Min[i + j - n, j] + 1, Max[i + j - n, j]}]


olfa wrote:

> Hi mathematica community,


> I have this input: Sum[a[k], {k, 1, j}] - Sum[a[k], {k, 1, i+j-n}]

> How it is possible to let mathematica gives as output:

> Sum[a[k], {k, i+j-n+1, j}] if i+j-n<j

> and Sum[a[k], {k, j+1, i+j-n}] if i+j-n>j


> thank you very much.


  • Prev by Date: Re: Looking for a Column,Row, and Grid interactive Lab
  • Next by Date: Re: differentiation operator
  • Previous by thread: problem with Sum
  • Next by thread: Re: problem with Sum