Julia wrapper for Bertini
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
REQUIRE

README.md

Bertini.jl

Julia wrapper for Bertini (https://bertini.nd.edu). Provides the function bertini.

Uses the Julia package DynamicPolynomials.jl.

For instance, to solve the polynomial

f(x) = x^2 - 1

we type

using Bertini
using DynamicPolynomials

@polyvar x
f = [x^2 - 1]

bertini(f)

The full syntax of bertini is as follows

bertini(
    f::Vector{T};
    hom_variable_group = false,
    file_path = mktempdir(),
    bertini_path = "",
    MPTYPE = nothing,
    MAXNEWTONITS = nothing,
    ENDGAMEBDRY = nothing,
    ENDGAMENUM = nothing,
    TrackType = 0)

where

  • T is the polynomial type provided by DynamicPolynomials.
  • hom_variable_group tells Bertini whether or not we are computing in projective space,
  • file_path is the path to the folder where you want input.txt being saved to.
  • bertini_path is the path to the folder where the bertini executable is saved to.
  • the other arguments correspond to standard Bertini arguments