Package to compute Amoebas in 2 and 3 variables.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Project.toml Update Feb 12, 2019


Documentation Build Status
Build Status
Codecov branch

A package to compute Amoebas in 2 and 3 variables.


Just do

julia> using Pkg;
julia> pkg"add PolynomialAmoebas";

in a running Julia session.

Getting started

To construct polynomials we export the macro @polyvar from the DynamicPolynomials.jl package.

using PolynomialAmoebas
# Create variables
@polyvar x y
# construct a polynomial
f = x^2*y + y^2 + 3x^2*y^3 + y^4 + x^4*y^4

To compute the amoeba of f we then can simply do

A = amoeba(f)

To visualize the amoeba we use the plotting capabilities provided by Plots.jl. Just do

using Plots


There is also a Jupyter notebook available to get an overview over the capabilties of the package. In order to set everything up for this follow the instructions in the IJulia.jl repository.