VecLat: Generator of VecLat objects

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

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

pgs documentation built on May 29, 2017, 5:30 p.m.