Re: Skipping Elements in Sum
- To: mathgroup at smc.vnet.net
- Subject: [mg61092] Re: Skipping Elements in Sum
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Mon, 10 Oct 2005 02:39:53 -0400 (EDT)
- Organization: Uni Leipzig
- References: <diabl5$ihc$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Sum[(1 - KroneckerDelta[i, j]), {i, 6}, {j, 6}]
will do that.
Regards
Jens
<qcadesigner at gmail.com> schrieb im Newsbeitrag
news:diabl5$ihc$1 at smc.vnet.net...
| Does anyone know how to skip elements using the
mathematica sum? e.g.
| take the sum of all i, where i not equal to j.
|