MathGroup Archive 2003

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

Search the Archive

Re: Multiple sum excluding some terms


Sum[m[i, j], {j, 1,3}, {i, 1,j-1}]+
  Sum[m[i, j], {j, 1,3}, {i, j+1,2}]

m(1,2)+m(1,3)+m(2,1)+m(2,3)

or slightly shorter

Sum[m[i, j], {j, 3}, {i, j-1}]+
  Sum[m[i, j], {j, 3}, {i, j+1,2}]

m(1,2)+m(1,3)+m(2,1)+m(2,3)


Bob Hanlon

In article <bn5dpi$6aa$1 at smc.vnet.net>, guillerm at aida.usal.es (Guillermo
Sanchez) wrote:

<< How make a multiple sum (example: Sum[m[i, j], {j, 1, 3}, {i, 1, 2}])
excluding terms i = j?
 >><BR><BR>


  • Prev by Date: Re: Multiple sum excluding some terms
  • Next by Date: How do I make Combinatorica graphs of publishable quality?
  • Previous by thread: Re: Multiple sum excluding some terms
  • Next by thread: Unknown option PlotLegend in Plot