MathGroup Archive 2006

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

Search the Archive

Re: product formula in mathematica


Hi,

no but

iset={1,3,4,9};
Times @@ (f[Subscript[x,#]] & /@ iset)

will do that ..
Regards
   Jens

frou wrote:
> Hi I am interested in doing a product over a set of indices that are
> not continuous
> Product [ f(x_i) , { x_i, 1,3,4,9}]     Is this possible it appears
> that the iterator wouldonly take sequences such as 1...10 etc.
> 
> Thanks
> 


  • Prev by Date: Re: perplexed by blank sequence in pattern replacement
  • Next by Date: Need good reference for writing Stylesheets
  • Previous by thread: Re: product formula in mathematica
  • Next by thread: Re: product formula in mathematica