Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2011

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

Search the Archive

Re: [Mathematica] special iterator

  • To: mathgroup at
  • Subject: [mg120640] Re: [Mathematica] special iterator
  • From: lorenzo <lorenzo_ktm at>
  • Date: Sun, 31 Jul 2011 23:37:09 -0400 (EDT)
  • Delivered-to:

Thanks for all the answers,

I used Delete, apparently it returns a list without the j-th element and the original list is not affected by any side effect:

wi = Function[{x, j, func, data}, 
   Product[func[x - Delete[data, j][[i]]],  
   {i, 1, Length[data] - 1}]];

  • Prev by Date: Re: Multiple Styles
  • Next by Date: Re: Doesn't work in Mathematica 8
  • Previous by thread: Re: [Mathematica] special iterator
  • Next by thread: Ctrl+Number Shortcuts doesn't work