grid.torus {ClusTorus}R Documentation

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

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

[Package ClusTorus version 0.2.2 Index]