dot-torify_coordinates: torify_coordinates

Description Usage Arguments Value Author(s)

Description

Wraps a grid array into a torus at the edges.

Usage

1
.torify_coordinates(coords, array_max)

Arguments

coords

An 8x2 matrix of co-ordinates.

array_max

An integer specifying the maximum size of the array.

Value

An 8x2 matrix in which the first column contains row co-oridnates and the second column contains column co-ordinates.

Author(s)

Alex Kalinka, alex.t.kalinka@gmail.com


alextkalinka/gameRlife documentation built on Jan. 4, 2022, 12:02 a.m.