Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Conditonal sum

  • To: mathgroup at
  • Subject: [mg50263] Conditonal sum
  • From: "Christopher Grinde" <christopher.grinde at>
  • Date: Mon, 23 Aug 2004 06:34:44 -0400 (EDT)
  • Organization: Vestfold University College
  • Sender: owner-wri-mathgroup at

I am new to mathematica and could really need a tip on how to implement a 
conditional sum.  Pseudocode would be something like this

if j in Sm:

I have tried doing this by using an If-clause inside the sum-function, but  

this seems little elegant and is nor very suitable for symbolic calculations.

Any advice would be highly appreciated

Christopher Grinde

  • Prev by Date: A Functional Measure of Roughness
  • Next by Date: Re: 2005 Geonetry Calendars
  • Previous by thread: Re: A functional measure of roughness
  • Next by thread: Re: Conditonal sum