Group Abstract Group Abstract

Message Boards Message Boards

I need help to understand this part about single random walkers

Posted 10 years ago

I don't understand this part of my code:

initConf = ReplacePart[Table[0, {2 n + 1}, {2 n + 1}], Random[Integer, {1, 4}], {n + 1, n + 1}]

In the book explain that the formula to the system is 2n+1 and that the range of n contain values 1 to 4

POSTED BY: Camilo Pacheco
POSTED BY: Eric Johnstone
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard