MathGroup Archive 2011

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

Search the Archive

Re: [Mathematica] special iterator

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