HexLat2: Generator of 2D hexagonal lattices as VecLat objects

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1

Arguments

det

the area of a fundamental tile of the hexagonal lattice. Default: 1.

Value

A VecLat-class object.

See Also

Generators VecLat, RectLat2, QcxLat2.

Examples

1
2

Example output

Loading required package: gsl
Loading required package: R2Cuba
An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
        [,1]      [,2]
[1,] 1.07457 0.5372850
[2,] 0.00000 0.9306049

Slot "gmat0":
        [,1]      [,2]
[1,] 1.07457 0.5372850
[2,] 0.00000 0.9306049

Slot "det":
[1] 1

An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
     [,1]      [,2]
[1,]  0.5 0.2500000
[2,]  0.0 0.4330127

Slot "gmat0":
        [,1]      [,2]
[1,] 1.07457 0.5372850
[2,] 0.00000 0.9306049

Slot "det":
[1] 0.2165064

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