This shows you the differences between two versions of the page.
Next revision | Previous revision |
playground:extensions:max_mediated_sets [2019/06/27 18:03] – created oroehrig | playground:extensions:max_mediated_sets [2019/06/28 09:48] (current) – [Prerequisites] oroehrig |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
You'll need a running ''polymake'' installation with the [[/external_software?#bundled_extensions_for_polymake|bundled extension]] ''libnormaliz'' for computing lattice points. ''libnormaliz'' comes bundled with ''polymake'', so if you did not do anything special like deliberately installing the minimal version, you should already have ''libnormaliz'' and do not have to do any extra work. | You'll need a running ''polymake'' installation with the [[/external_software?#bundled_extensions_for_polymake|bundled extension]] ''libnormaliz'' for computing lattice points. ''libnormaliz'' comes bundled with ''polymake'', so if you did not do anything special like deliberately installing the minimal version, you should already have ''libnormaliz'' and do not have to do any extra work. See [[/download/start#get_latest_stable_release34|here]] for instructions on how to get and install ''polymake''. |
| |
===== Download ===== | ===== Download ===== |
| |
Here is the download link to the tarball containing the sources of the ''max_mediated_sets'' extension: | Use git to obtain your copy: |
| |
* **coming soon** | |
| |
You can also use git if you prefer: | |
<code> | <code> |
git clone https://git.polymake.org/extensions/max_mediated_sets | git clone https://git.polymake.org/extensions/max_mediated_sets |
===== Installation ===== | ===== Installation ===== |
| |
Assuming the directory you unpacked the tarball or pulled the git to has the path ''~/max_mediated_sets''. To use the extension, fire up your ''polymake'' interactive shell and enter the following command: | Assuming the directory you pulled the git to has the path ''~/max_mediated_sets''. To use the extension, fire up your ''polymake'' interactive shell and enter the following command: |
| |
<code> | <code> |
x_0 - 1 | x_0 - 1 |
</code> | </code> |
| You might also be interested in the dimension of the toric variety: |
| <code> |
| > print $n->TORIC_VARIETY_DIMENSION; |
| 9 |
| </code> |