| Hosted by CoCalc | Download
# 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