MathGroup Archive 2007

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

Search the Archive

Cascaded (Multi-range) Iterators?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79025] Cascaded (Multi-range) Iterators?
  • From: AES <siegman at stanford.edu>
  • Date: Mon, 16 Jul 2007 02:14:38 -0400 (EDT)
  • Organization: Stanford University

Seems like a very useful (and feasible?) (and not too difficult) 
extension to the Iterator concept for Tables, etc., would be a cascaded 
or multi-range Iterator, e.g. something like

    Table[ f[x],  { {x, 0, 1, 0.1}, {x, 2, 10}, {x, 20, 100, 10} } ]

I often have need for a "different step sizes over different ranges" 
capability like this, and have to resort to workarounds to achieve it.

[Apologies if my searches in the Help files have missed something that 
already does this.]


  • Prev by Date: buliding on functions
  • Next by Date: Re: Strange Behaviour of Solve?
  • Previous by thread: Re: Re: buliding on functions
  • Next by thread: Copying cells in simple text form?