Calabi-Yau hypersurfacse

Constructors

CYTools.CYHypersurfaceMethod
CYHypersurface(vertices::Matrix{Int})

Construct the Calabi-Yau hypersurface in a normal toric variety with rays given as the vertices of a polytope.

Examples

julia> CYHypersurface([1 0; 0 1; -1 -1])
A Calabi-Yau hypersurface
source

Properties

CYTools.polytopeMethod
polytope(cy::CYHypersurface)

Return the polytope of a Calabi-Yau hypersurface in a normal toric variety.

julia> cy = CYHypersurface([1 0; 0 1; -1 -1])
A Calabi-Yau hypersurface

julia> p = polytope(cy)
A polyhedron in ambient dimension 2
source