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 = {(.0820459 - .100311*ii)x1  + (- .296832 + .298655*ii)x1*x2 + (-
     ------------------------------------------------------------------------
                             2                                              
     .0414795 + .277856*ii)x2  + (- .065361 + .125254*ii)x1*x3 + (.0575727 +
     ------------------------------------------------------------------------
                                                2              
     .273388*ii)x2*x3 + (.197741 + .215384*ii)x3 , (- .233716 +
     ------------------------------------------------------------------------
                   3                             2                 
     .0601857*ii)x1  + (- .508622 - .357641*ii)x1 x2 + (- .386496 -
     ------------------------------------------------------------------------
                     2                            3               
     .444624*ii)x1*x2  + (.097578 + .0672667*ii)x2  + (- .130681 -
     ------------------------------------------------------------------------
                   2                                                   
     .0760674*ii)x1 x3 + (- .0241255 + .604447*ii)x1*x2*x3 + (.328686 +
     ------------------------------------------------------------------------
                  2                               2                
     .268564*ii)x2 x3 + (.632388 + .13889*ii)x1*x3  + (- .0227396 +
     ------------------------------------------------------------------------
                     2                           3
     .184594*ii)x2*x3  + (.187369 + .221908*ii)x3 }

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

o3 = {{{-.0025441-.220554*ii, -.642021-.264926*ii, .684531-.019748*ii},
     ------------------------------------------------------------------------
     #steps => 13, status  => REGULAR, last t => 1, cond#^{-1} => .337085}}

o3 : List

Ways to use randomSd :