Calabi-Yau hypersurfacse
Constructors
CYTools.CYHypersurface
— MethodCYHypersurface(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
Properties
CYTools.polytope
— Methodpolytope(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