Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4072

[Mathematica] special iterator

From lorenzo <lorenzo_ktm@yahoo.it>
Newsgroups comp.soft-sys.math.mathematica
Subject [Mathematica] special iterator
Date 2011-07-30 09:59 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j10kmc$omh$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 :)

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[Mathematica] special iterator lorenzo <lorenzo_ktm@yahoo.it> - 2011-07-30 09:59 +0000
  Re: [Mathematica] special iterator "andre.robin3" <andre.robin3@wanadoo.fr> - 2011-07-31 11:25 +0000

csiph-web