Learn R Programming

ClusTorus (version 0.2.2)

grid.torus: Grid on torus

Description

grid.torus returns an equally-spaced grid on torus.

Usage

grid.torus(d = 2, grid.size = 100)

Arguments

d

number for dimension. Default is 2.

grid.size

number of grid for each axis. Default value is 100.

Value

returns (grid.size) x (grid.size) numeric matrix which indicates the grid points on torus.

Examples

Run this code
# NOT RUN {
grid.torus(d = 2, grid.size = 100)
# }

Run the code above in your browser using DataLab