Macaulay2 » Documentation
Packages » NAGtypes :: realPoints
next | previous | forward | backward | up | index | toc

realPoints -- select real points

Synopsis

Description

Selects real points from a list of points using the function isRealPoint.

i1 : needsPackage "NumericalAlgebraicGeometry"

o1 = NumericalAlgebraicGeometry

o1 : Package
i2 : R = CC[x,y];
i3 : sols = solveSystem{x^6-y^4, x-y-2}

o3 = {{.937565+.715691*ii, -1.06244+.715691*ii}, {.937565-.715691*ii,
     ------------------------------------------------------------------------
     -1.06244-.715691*ii}, {-2*ii, -2-2*ii}, {2*ii, -2+2*ii}, {1, -1},
     ------------------------------------------------------------------------
     {-2.87513, -4.87513}}

o3 : List
i4 : realPoints sols

o4 = {{1, -1}, {-2.87513, -4.87513}}

o4 : List

See also

Ways to use realPoints :

For the programmer

The object realPoints is a method function with options.