MathGroup Archive 1998

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

Search the Archive

Re: Question from venezuela

  • To: mathgroup at
  • Subject: [mg14298] Re: Question from venezuela
  • From: "Mario R. Riotorto" <riotorto at>
  • Date: Tue, 13 Oct 1998 01:21:15 -0400
  • Organization: ES
  • References: <6vf4sc$>
  • Sender: owner-wri-mathgroup at

Hernan Andres Zu~niga Medina escribi'o:

>Hello my name is Hernan Zuniga, I am tesista of predegree in the
>University of The Andes - Merida Venezuela. At the moment I am
>developing my thesis in Growth of Crystals with the Mathematica program
>by using CELLULAR AUTOMATA for it; but I have a problem with the
>handling of the vicinities. It wanted to ask if it can help thanks me
>for its attention.
>The question is the following one: when it is used the vicinity of Moore
>and is wanted to evaluate the site depending on the nearest neighbors,
>I can be changed the site but I need to change some of the nearest
>neighbors at the same time.

Como te va Hernan?

When I simulate CAs with Mathematica, I create previously a function
like that:

  Table[{j,	          (*center*)
	   Mod[j,n]+1,    (*east*)
         Mod[j-2+n,n]+1}, (*west*)

Now, if I want to calculate the neighborhood structure for a Linear
Cellular Automaton, with radius=1 and just 5 cells, then


will give:


Obviously, you can extend the method to more complex vecinities.

With this choice, I avoid to re-calculate the vecinity of each cell at
each step of time.

Un saludo desde el otro lado del charco... Mario.

----------------------------------------- Mario Rodriguez-Riotorto
mailto:riotorto at

  • Next by Date: How can I connect MS Visual C++ 5.0 or Delphi witch Mathematica 3.0 ?
  • Previous by thread: Question from venezuela
  • Next by thread: MathGroup/Newsgroup Off Line Thursday-Sunday