user_guide:tutorials:apps_tropical

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:apps_tropical [2017/06/12 13:51] – [Tropical convex hull computations] typo. oroehrigtutorial:apps_tropical [2017/06/12 18:29] – [Tropical arithmetics] removed faulty polynomial syntax oroehrig
Line 5: Line 5:
   * Tropical convex hull computations   * Tropical convex hull computations
   * Tropical cycles and hypersurfaces.   * Tropical cycles and hypersurfaces.
 +
 +To use the full palette of tools for tropical geometry, switch to the corresponding application by typing the following in the ''polymake'' shell:
 +<code>
 +> application 'tropical';
 +</code>
  
 === Disclaimer: Min or Max - you have to choose! === === Disclaimer: Min or Max - you have to choose! ===
Line 44: Line 49:
 </code> </code>
  
-Finally, you can also create tropical polynomials. This can either be done in the [[polynomials_tutorial|usual manner]] or with special parser:+Finally, you can also create tropical polynomials. This can be done with the special toTropicalPolynomial parser:
  
 <code> <code>
-tropical > $r = new Ring<TropicalNumber<Min> >(3); #Tropical polynomial ring in 3 variables 
-tropical > ($x, $y, $z) = $r->variables; 
-tropical > $p = $x*$x + $y * $z; 
-tropical > print $p; 
-x0^2 + x1*x2 
 tropical > $q = toTropicalPolynomial("min(2a,b+c)"); tropical > $q = toTropicalPolynomial("min(2a,b+c)");
 tropical > print $q; tropical > print $q;
  • user_guide/tutorials/apps_tropical.txt
  • Last modified: 2019/02/04 22:55
  • by 127.0.0.1