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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.codecov.yml
.gitignore
.gitlab-ci.yml
.travis.yml
LICENSE.md
Project.toml
README.md Update README.md Feb 12, 2019
REQUIRE

README.md

PolynomialAmoebas.jl

Documentation Build Status
Build Status
Codecov branch

A package to compute Amoebas in 2 and 3 variables.

Installation

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

plot(A)

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.