Contour
PolynomialAmoebas.contour
โ Function.contour(f; options...)
Compute the contour ๐ถ(๐) of the amoeba $\mathcal{A}(f)$.
Example
@polyvar x y
contour(x^2+y^2+1)
# custom domain
contour(x^2+y^2+1, domain=(-5, 5, -5, 5))
Options
domain
: A tuple in the form(xmin, xmax, ymin, ymax)
which defines a section ฮฉ
for which the contour ๐ถ(๐) is computed.
membership_options
: The options for the membership testres=(600,600)
: The resolution with which starting points are sampledsamples_off_axis=2*MP.maxdegree(p)^2
: The number of sample points per off-axis.
PolynomialAmoebas.Contour2D
โ Type.Contour2D
Represents a contour of a two-dimensional amoeba.