Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

Re: Multiple sum excluding some terms

  • To: mathgroup at smc.vnet.net
  • Subject: [mg44103] Re: Multiple sum excluding some terms
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Thu, 23 Oct 2003 07:14:45 -0400 (EDT)
  • References: <bn5dpi$6aa$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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