Description Usage Arguments Value See Also Examples
Assumes zero-padded on all sides.
1 | life_step(d)
|
d |
a square matrix logical values |
next step matrix
1 2 3 4 5 6 7 8 9 | d <- matrix(data = FALSE, nrow = 10, ncol = 10)
glider_txt <- "
.O
..O
OOO
"
glider <- read_cells(glider_txt)
d <- write_mat_region(d, 5, 5, glider)
life_step(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.