Notes for polymake users
OSCAR (and Julia) is
1-based, meaning that it counts from1, rather than from0like polymake. For most properties we have taken care of the translation but be aware that it might pop up at some point and generate confusion.For convenience,
Polymake.jlprovidesPolymake.to_one_based_indexingandPolymake.to_zero_based_indexing.Polyhedra and polyhedral complexes in OSCAR are represented inhomogeneously, i.e. without the leading
1for vertices or0for rays. Hence constructors take points, rays, and lineality generators separately.user_methods cannot be accessed via Julia's dot syntax, i.e. something likec = Polymake.polytope.cube(3) c.AMBIENT_DIMwill not work. Instead
user_methods are attached as Julia functions in their respective application. They are always written in lowercase. In the example the following works:c = Polymake.polytope.cube(3) Polymake.polytope.ambient_dim(c)