next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
NumericalAlgebraicGeometry :: randomSd(List)

randomSd(List) -- a random homogeneous system of polynomial equations

Synopsis

Description

Generates a system of homogeneous polynomials Ti such that deg(Ti) = di. The system is normalized, so that it is on the unit sphere in the Bombieri-Weyl norm.

i1 : T = randomSd {2,3}

                                 2                                           
o1 = {(- .198785 - .0210966*ii)x1  + (.48292 + .0597692*ii)x1*x2 + (- .034776
     ------------------------------------------------------------------------
                     2                                              
     + .0882306*ii)x2  + (.248165 - .0907809*ii)x1*x3 + (- .176402 -
     ------------------------------------------------------------------------
                                                  2               
     .351973*ii)x2*x3 + (.170355 - .00498468*ii)x3 , (- .0726388 +
     ------------------------------------------------------------------------
                  3                              2                 
     .345272*ii)x1  + (- .0176271 - .101027*ii)x1 x2 + (- .892843 -
     ------------------------------------------------------------------------
                     2                               3             
     .138316*ii)x1*x2  + (- .0801351 - .0197957*ii)x2  + (.175807 -
     ------------------------------------------------------------------------
                  2                                                     
     .423247*ii)x1 x3 + (- .0859534 + .696244*ii)x1*x2*x3 + (- .082628 +
     ------------------------------------------------------------------------
                    2                                2               
     .00380629*ii)x2 x3 + (.328708 - .200066*ii)x1*x3  + (- .220294 +
     ------------------------------------------------------------------------
                     2                           3
     .432985*ii)x2*x3  + (.042605 + .011088*ii)x3 }

o1 : List
i2 : (S,solsS) = goodInitialPair T;
i3 : M = track(S,T,solsS,gamma=>0.6+0.8*ii,Software=>M2)

o3 = {{-.378687-.12797*ii, -.0314117-.0796187*ii, .908822-.083285*ii}}

o3 : List

See also