next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

randomSd -- a random homogeneous system of polynomial equations

Synopsis

Description

Generates a system of homogeneous polynomials T_i such that deg T_i = d_i. The system is normalized, so that it is on a unit sphere in the Bombieri-Weyl norm.
i1 : T = randomSd {2,3}

                               2                                             
o1 = {(.205363 - .0621313*ii)x1  + (.108066 - .361383*ii)x1*x2 + (- .122217 +
     ------------------------------------------------------------------------
                  2                                              
     .264318*ii)x2  + (- .119565 + .553119*ii)x1*x3 + (.0136917 +
     ------------------------------------------------------------------------
                                                2                           3
     .117845*ii)x2*x3 + (.165361 - .259357*ii)x3 , (.105802 + .0174288*ii)x1 
     ------------------------------------------------------------------------
                               2                                 2  
     + (.384266 - .510971*ii)x1 x2 + (.196134 + .0795961*ii)x1*x2  +
     ------------------------------------------------------------------------
                              3                             2               
     (.0818557 + .320586*ii)x2  + (- .204167 + .240726*ii)x1 x3 + (.133583 +
     ------------------------------------------------------------------------
                                                    2                 
     .116931*ii)x1*x2*x3 + (.308864 - .0828824*ii)x2 x3 + (- .475947 -
     ------------------------------------------------------------------------
                     2                                2               
     .121994*ii)x1*x3  + (- .425706 + .147474*ii)x2*x3  + (- .080606 +
     ------------------------------------------------------------------------
                  3
     .192158*ii)x3 }

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

o3 = {{{.320647+.410097*ii, .354096-.345418*ii, .677301-.159913*ii}, #steps
     ------------------------------------------------------------------------
     => 15, status  => REGULAR, last t => 1, cond#^{-1} => .489728}}

o3 : List

Ways to use randomSd :