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.
i1 : T = randomSd {2,3};
i2 : (S,solsS) = randomInitialPair T

                                 2                                           
o2 = ({(.0362212 - .0271381*ii)x1  + (.102272 - .179471*ii)x1*x2 + (.329904 +
     ------------------------------------------------------------------------
                   2                                               
     .0941548*ii)x2  + (.0341056 + .0380274*ii)x1*x3 + (- .172744 +
     ------------------------------------------------------------------------
                                                  2               
     .216023*ii)x2*x3 + (.00487153 - .111914*ii)x3 , (- .0839123 +
     ------------------------------------------------------------------------
                   3                          2                      
     .0246705*ii)x1  + (.23306 - .087913*ii)x1 x2 + (- .00000433306 -
     ------------------------------------------------------------------------
                     2                           3              
     .129138*ii)x1*x2  + (.146646 - .440971*ii)x2  + (.0164946 +
     ------------------------------------------------------------------------
                   2                                                  
     .0250571*ii)x1 x3 + (- .121316 + 1.19266*ii)x1*x2*x3 + (.264458 -
     ------------------------------------------------------------------------
                  2                                   2             
     .394548*ii)x2 x3 + (- .180063 + .0212981*ii)x1*x3  + (.675867 +
     ------------------------------------------------------------------------
                     2                              3
     .322082*ii)x2*x3  + (- .0929653 - .208909*ii)x3 }, {{.402222-.630259*ii,
     ------------------------------------------------------------------------
     .54491+.300087*ii, .0440427+.228193*ii}})

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

o3 = {{-.200228-.501874*ii, .011115+.677065*ii, -.416553-.275632*ii}}

o3 : List

Ways to use randomInitialPair :