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

bertiniRefineSols -- sharpen solutions to a prescribed number of digits

Synopsis

Description

This method takes the list W of solutions from a bertiniZeroDimSolve and sharpens them to d digits using the sharpening module of Bertini. When IFD is omitted the information is pulled from the cache of the first point in W. When OFD is omitted a temporary directory is created.

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

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

o3 : List
i4 : S = bertiniRefineSols (100,W)

o4 = {{1.41421, 1.41421}, {1.41421, -1.41421}, {-1.41421, 1.41421},
     ------------------------------------------------------------------------
     {-1.41421, -1.41421}}

o4 : List
i5 : coords = coordinates S_0

o5 = {1.41421, 1.41421}

o5 : List
i6 : coords_0

o6 = 1.4142135623730950488016887242096980785696718753769480731766797379907324
     78462107038850387534327641573

o6 : CC (of precision 333)

bertiniRefineSols will only refine non-singular solutions and does not currently work for homogeneous systems.

Ways to use bertiniRefineSols :

For the programmer

The object bertiniRefineSols is a method function with options.