VecLat {pgs}R Documentation

Generator of VecLat objects

Description

Create an object of class "VecLat" representing a vector lattice.

Usage

VecLat(gmat)

Arguments

gmat a vector or a matrix. If gmat is a vector, it is transformed into a one-column matrix.

Value

A VecLat-class object.

See Also

VecLat-class, generators for 2D lattices HexLat2, QcxLat2, RectLat2, generators for 3D lattices BCRectLat3, FCRectLat3, RectLat3.

Examples

## Planar square lattice
VecLat(diag(2))
## Planar discrete horizontal line
VecLat(c(1,0))

[Package pgs version 0.2-0 Index]