Re:Re: Applying position-dependent functions on
- To: mathgroup at smc.vnet.net
- Subject: [mg23319] Re:[mg23235] Re: Applying position-dependent functions on
- From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
- Date: Mon, 1 May 2000 18:00:18 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 24 Apr 2000 01:44:53 -0400, Manolis Petrakis <MPetrakis at yahoo.com> wrote: >I'm trying to write a program for solving the 2-D Ising model, but not using >the standard Do[...] approach, to modify every spin on a spin list, using >the Metropolis Function. ---------------------------------- Hans Friedrich Steffani replied: What about MapIndexed[]? ---------------------------------- I had a hard time learning how to use MapIndexed. To make the experience easier for others I include extensive examples under MapIndexed on my website (URL given below). --------- Regards, Ted Ersek Mathematica Tips & Tricks http://www.verbeia.com/mathematica/tips/Tricks.html