extensions:max_mediated_sets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
extensions:max_mediated_sets [2019/06/28 09:55] – created oroehrigextensions: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->CONVEX_HULL->VERTICES; > print $n->CONVEX_HULL->VERTICES;
-1 0 +1 0 6
-1 0 1+
 1 2 0 1 2 0
 +1 0 0
 </code> </code>
 Note that the vertices are handled in homogeneous coordinates. The polynomial gets stored in the attachment named ''POLYNOMIAL'': Note that the vertices are handled in homogeneous coordinates. The polynomial gets stored in the attachment named ''POLYNOMIAL'':
Line 65: Line 65:
 1 0 5 1 0 5
 </code> </code>
-You can look at the vanishing idealwhich in this case has two generators: +To get the h-ratiodo the following:
-<code> +
-> print $n->VANISHING_IDEAL_GENERATORS->[1]; +
-x_1^3 - x_3 +
-> print $n->VANISHING_IDEAL_GENERATORS->[2]; +
-x_0 - 1 +
-</code> +
-You might also be interested in the dimension of the toric variety:+
 <code> <code>
-> print $n->TORIC_VARIETY_DIMENSION+> print $n->H_RATIO
-9+1
 </code> </code>
  • extensions/max_mediated_sets.txt
  • Last modified: 2021/03/20 14:55
  • by yuruk