Sharedsupport / 2015-11-05-145908-topcom.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.

See Triangulations of a point configuration (sage reference manual) and the TOPCOM website.

# The optional TOPCOM package is pre-installed in SageMathCloud. PointConfiguration.set_engine('topcom') # optional - topcom p = PointConfiguration([[-1,-5/9],[0,10/9],[1,-5/9],[-2,-10/9],[0,20/9],[2,-10/9]]) regular = p.restrict_to_regular_triangulations(True).triangulations_list() # optional - topcom nonregular = p.restrict_to_regular_triangulations(False).triangulations_list() # optional - topcom len(regular) # optional - topcom
16
len(nonregular) # optional - topcom
2
nonregular[0].plot(aspect_ratio=1, axes=False) # optional - topcom PointConfiguration.set_engine('internal') # to make doctests independent of TOPCOM