Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
extensions:max_mediated_sets [2019/06/28 09:55] – created oroehrig | extensions:max_mediated_sets [2019/06/28 10:36] – [Usage] h-ratios are interesting though oroehrig | ||
---|---|---|---|
Line 33: | Line 33: | ||
> $n = newton_configuration($p); | > $n = newton_configuration($p); | ||
> print $n-> | > print $n-> | ||
- | 1 0 0 | + | 1 0 6 |
- | 1 0 1 | + | |
1 2 0 | 1 2 0 | ||
+ | 1 0 0 | ||
</ | </ | ||
Note that the vertices are handled in homogeneous coordinates. The polynomial gets stored in the attachment named '' | Note that the vertices are handled in homogeneous coordinates. The polynomial gets stored in the attachment named '' | ||
Line 65: | Line 65: | ||
1 0 5 | 1 0 5 | ||
</ | </ | ||
- | You can look at the vanishing ideal, which in this case has two generators: | + | To get the h-ratio, do the following: |
- | < | + | |
- | > print $n-> | + | |
- | x_1^3 - x_3 | + | |
- | > print $n-> | + | |
- | x_0 - 1 | + | |
- | </ | + | |
- | You might also be interested in the dimension of the toric variety: | + | |
< | < | ||
- | > print $n->TORIC_VARIETY_DIMENSION; | + | > print $n->H_RATIO; |
- | 9 | + | 1 |
</ | </ |