Lattice: Coordinates of a lattice

Description Usage Arguments Value

View source: R/MatchingPP.R

Description

Creates a patch of the lattice a*Z^d, where d is the dimension (auxiliary function)

Usage

1
Lattice(dimension,lin.N,lin.len)

Arguments

dimension

Dimension of the simulation box

lin.N

Vector of linear numbers of lattice points

lin.len

Lattice constant "a" (nearest neighbor distance)

Value

Matrix R^prod(lin.N) x dimension, each row contains coordinates of one cell center


michael-klatt/matchingpp documentation built on May 29, 2019, 3:06 a.m.