Getting Started
Normaliz.jl is a Julia interface to Normaliz, an open source tool for computations in affine monoids, vector configurations, lattice polytopes, and rational cones.
Installation
To use Normaliz.jl we require Julia 1.6 or higher. Please see https://julialang.org/downloads/ for instructions on how to obtain julia for your system.
To install this package, enter this into the Julia prompt:
using Pkg; Pkg.develop(url="https://github.com/Normaliz/Normaliz.jl")
Here is an example of using Normaliz.jl:
julia> using Normaliz
julia> xx = Normaliz.NmzMatrix{Normaliz.NmzRational}([1 2 ; 3 5])
2×2 Normaliz.NmzMatrixAllocated{Normaliz.NmzRational}:
1 2
3 5
julia> yy = Normaliz.LongLongCone( Dict( :cone => xx ) )
Normaliz cone
julia> Normaliz.get_matrix_cone_property( yy, "ExtremeRays" )
2×2 Normaliz.NmzMatrixAllocated{Int64}:
1 2
3 5
julia> Normaliz.get_matrix_cone_property( yy, "SupportHyperplanes" )
2×2 Normaliz.NmzMatrixAllocated{Int64}:
-5 3
2 -1