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: [mg44101] Re: Multiple sum excluding some terms
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 23 Oct 2003 07:14:42 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bn5dpi$6aa$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Sum[If[i =!= j, m[i, j], 0], {j, 1, 3}, {i, 1, 2}]

Sum[(1 - KroneckerDelta[i, j])m[i, j], {j, 1, 3}, {i, 1, 2}]

Regards
  Jens

Guillermo Sanchez wrote:
> 
> Hi friends
> 
> How make a multiple sum (example: Sum[m[i, j], {j, 1, 3}, {i, 1, 2}])
> excluding terms i = j?
> 
> Guillermo Sanchez


  • Prev by Date: add this to the replacement example
  • Next by Date: Re: Multiple sum excluding some terms
  • Previous by thread: Re: Multiple sum excluding some terms
  • Next by thread: Re: Multiple sum excluding some terms