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>