MathGroup Archive 2009

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

Search the Archive

Re: Is it possible to impose a condition on an iterator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101587] Re: Is it possible to impose a condition on an iterator
  • From: Eroes <EroesTogliquesto at yahoo.com>
  • Date: Fri, 10 Jul 2009 23:20:56 -0400 (EDT)
  • References: <200907090552.BAA16854@smc.vnet.net> <h375v0$f0r$1@smc.vnet.net>

On Fri, 10 Jul 2009 10:42:40 +0000 (UTC), Murray Eisenberg
<murray at math.umass.edu> wrote:

><.....>
>
>   avals = Complement[Range[20], Range[7, 11]];
>
>Then:
>
>   Sum[a^2 - 3 a/(4 a^2), {a, avals}]
<.............>

Clear beautiful solution Thanks indeed so much
Mauro




  • Prev by Date: Re: Is it possible to impose a condition on an iterator of
  • Next by Date: binomial expansion of quantity raised to power of 1/2
  • Previous by thread: Re: Is it possible to impose a condition on an iterator of
  • Next by thread: Re: Is it possible to impose a condition on an iterator of