Macaulay2 » Documentation
Packages » PHCpack :: trackPaths
next | previous | forward | backward | up | index | toc

trackPaths -- tracks paths defined by a typical homotopy between start and end systems

Synopsis

Description

A linear homotopy between target T and start S has the form (1-Lambda)*S + Lambda*T = 0. The method trackPaths tracks the solution paths defined by the homotopy for Lambda going from 0 to 1. In the example below, we first construct a start system using polyhedral homotopies using mixedVolume.

i1 : R = CC[x,y];
i2 : f = { x^3*y^5 + y^2 + x^2*y, x*y + x^2 - 1};
i3 : (m,q,qsols) = mixedVolume(f,StartSystem=>true);
i4 : fsols = trackPaths(f,q,qsols)

o4 = {{-.894935-.624334*ii, .143333+1.14868*ii}, {-1.59272, .964857},
     ------------------------------------------------------------------------
     {.742585-.425943*ii, .270685+1.00715*ii}, {1.33076+.335184*ii,
     ------------------------------------------------------------------------
     -.62414-.513163*ii}, {1.33076-.335184*ii, -.62414+.513163*ii},
     ------------------------------------------------------------------------
     {-.764107, -.544612}, {.742585+.425943*ii, .270685-1.00715*ii},
     ------------------------------------------------------------------------
     {-.894935+.624334*ii, .143333-1.14868*ii}}

o4 : List

See also

Ways to use trackPaths :

For the programmer

The object trackPaths is a method function with options.