Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
tutorial:polynomials_tutorial [2017/07/06 15:42] – rewrote first part. oroehrig | user_guide:polynomials_tutorial [2019/01/25 09:27] – ↷ Page moved from tutorial:polynomials_tutorial to user_guide:polynomials_tutorial oroehrig | ||
---|---|---|---|
Line 4: | Line 4: | ||
</ | </ | ||
- | ===== Basic Usage of Polynomials in Perl ===== | + | ===== Usage of Polynomials in Perl ===== |
===Constructors=== | ===Constructors=== | ||
The easiest way to create a simple [[https:// | The easiest way to create a simple [[https:// | ||
Line 46: | Line 46: | ||
</ | </ | ||
- | ===Newton Polynomials=== | + | ===Example: |
Here is one way to produce polytopes from polynomials (as the convex hull of the exponent vectors of all terms). | Here is one way to produce polytopes from polynomials (as the convex hull of the exponent vectors of all terms). | ||
< | < | ||
Line 60: | Line 60: | ||
The final " | The final " | ||
- | ===== Example: Toric Degeneration | + | === Example: Toric Degeneration === |
The following describes how to construct the polynomial which describes the toric deformation with respect to a point configuration and a height function. | The following describes how to construct the polynomial which describes the toric deformation with respect to a point configuration and a height function. | ||
Line 73: | Line 73: | ||
< | < | ||
- | polytope > @vars = ( " | + | polytope > $p = new Polynomial($coefficients, |
- | polytope > $R = new Ring(@vars); | + | |
- | polytope > $p = new Polynomial($height|$points, | + | |
</ | </ | ||