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

randomInitialPair -- a random initial pair

Synopsis

Description

Generates a start system S that has an equal chance of reaching any of the solutions of the target system T. For more details see: C. Beltran and A. Leykin, "Certified numerical homotopy tracking", arXiv:0911.1783

i1 : T = randomSd {2,3};
i2 : (S,solsS) = randomInitialPair T

                                 2                                          
o2 = ({(- .252927 + .152663*ii)x1  + (- .273431 + .383306*ii)x1*x2 + (.17936
     ------------------------------------------------------------------------
                    2                                                 
     + .153596*ii)x2  + (- .0399774 + .0111801*ii)x1*x3 + (- .188763 -
     ------------------------------------------------------------------------
                                                   2            
     .0457264*ii)x2*x3 + (- .180394 + .361152*ii)x3 , (.215032 +
     ------------------------------------------------------------------------
                  3                           2               
     .226728*ii)x1  + (.255485 + .363292*ii)x1 x2 + (.179408 +
     ------------------------------------------------------------------------
                      2                             3               
     .0109095*ii)x1*x2  + (- .111814 - .209383*ii)x2  + (- .134496 -
     ------------------------------------------------------------------------
                  2                                                   
     .172057*ii)x1 x3 + (- .0131319 - .103996*ii)x1*x2*x3 + (.401658 -
     ------------------------------------------------------------------------
                  2                               2               
     .164619*ii)x2 x3 + (.28975 - .493739*ii)x1*x3  + (- .106091 +
     ------------------------------------------------------------------------
                     2                           3
     .209485*ii)x2*x3  + (.276773 + .208926*ii)x3 }, {{-.206646+.824833*ii,
     ------------------------------------------------------------------------
     .0958447-.416933*ii, .182612+.246133*ii}})

o2 : Sequence
i3 : M = track(S,T,solsS,gamma=>0.6+0.8*ii,Software=>M2)

o3 = {{.262459+.128266*ii, -.156845-.56473*ii, .542128+.526535*ii}}

o3 : List

See also

Ways to use randomInitialPair :