Macaulay2 » Documentation
Packages » Bertini :: bertiniZeroDimSolve
next | previous | forward | backward | up | index | toc

bertiniZeroDimSolve -- a main method to solve a zero-dimensional system of equations

Synopsis

Description

This method finds isolated solutions to the system F via numerical polynomial homotopy continuation by (1) building a Bertini input file from the system F, (2) calling Bertini on this input file, (3) returning solutions from a machine readable file that is an output from Bertini.

i1 : R = CC[x,y];
i2 : F = {x^2-1,y^2-2};
i3 : S = bertiniZeroDimSolve F

o3 = {{1, 1.41421}, {1, -1.41421}, {-1, 1.41421}, {-1, -1.41421}}

o3 : List

Each solution is of type Point. Additional information about the solution can be accessed by using peek.

i4 : peek S_0

o4 = Point{cache => CacheTable{...14...}}
           Coordinates => {1, 1.41421}

Bertini uses a multihomogeneous homotopy as a default, but regeneration can be deployed with the option UseRegeneration=>1 .

i5 : R = CC[x];
i6 : F = {x^2*(x-1)};
i7 : S = bertiniZeroDimSolve F

o7 = {{1}, {-1.55589e-15-2.46051e-15*ii}}

o7 : List
i8 : B = bertiniZeroDimSolve(F,UseRegeneration=>1)

o8 = {{1}}

o8 : List

Variables must begin with a letter (lowercase or capital) and can only contain letters, numbers, underscores, and square brackets. Regeneration in bertiniZeroDimSolve only finds nonsingular isolated points.

Ways to use bertiniZeroDimSolve :

For the programmer

The object bertiniZeroDimSolve is a method function with options.