Re: Table Iterators
- To: mathgroup at smc.vnet.net
- Subject: [mg52644] Re: [mg52618] Table Iterators
- From: DrBob <drbob at bigfoot.com>
- Date: Sun, 5 Dec 2004 02:08:47 -0500 (EST)
- References: <200412040907.EAA13441@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
rowDim := {i, 2, 7, 1/2} colDim := {j, 3, 4, 1/3} Table[stuff, rowDim // Evaluate, colDim // Evaluate] {{stuff, stuff, stuff, stuff}, {stuff, stuff, stuff, stuff}, { stuff, stuff, stuff, stuff}, {stuff, stuff, stuff, stuff}, { stuff, stuff, stuff, stuff}, {stuff, stuff, stuff, stuff}, { stuff, stuff, stuff, stuff}, {stuff, stuff, stuff, stuff}, { stuff, stuff, stuff, stuff}, {stuff, stuff, stuff, stuff}, { stuff, stuff, stuff, stuff}} Bobby On Sat, 4 Dec 2004 04:07:57 -0500 (EST), Gregory Lypny <gregory.lypny at videotron.ca> wrote: > Hello Everyone, > > I need to create many tables, all with the same iterators {i, iMin, > iMax, di}, {j, jMin, jMax, dj}. I'd like to be able to set the > iterators outside of the Table function so that I can change them and > have all of the tables change accordingly. > > I've tried > > rowDim:= {i, iMin, iMax, di} and colDim:={j, jMin, jMax, dj} inside of > Table[stuff,rowDim,colDim] > > but this generates an iterator error. > > Any suggestions would be most appreciated. > > Greg > > > > -- DrBob at bigfoot.com www.eclecticdreams.net
- References:
- Table Iterators
- From: Gregory Lypny <gregory.lypny@videotron.ca>
- Table Iterators