MathGroup Archive 2011

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

Search the Archive

[Mathematica] special iterator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120578] [Mathematica] special iterator
  • From: lorenzo <lorenzo_ktm at yahoo.it>
  • Date: Sat, 30 Jul 2011 05:58:46 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hello everybody,

I would like to define an iterator to explore all the elements in a list except for the one of index j.

something like:
{index,0,Length[myList]} and if index == j  ---> index++

Is it possible?
Can I do this without deleting the j-th element?

Thank you very much for helping :)




  • Prev by Date: Memory leak or flawed garbage collector
  • Next by Date: Ctrl+Number Shortcuts doesn't work
  • Previous by thread: Re: Memory leak or flawed garbage collector
  • Next by thread: Re: [Mathematica] special iterator