Return a string containing the H-representation in cddlib’s ine format.
EXAMPLES:
sage: from sage.geometry.polyhedron.cdd_file_format import cdd_Hrepresentation
sage: cdd_Hrepresentation('rational', None, [[0,1]])
'H-representation\nlinearity 1 1\nbegin\n 1 2 rational\n 0 1\nend\n'
Return a string containing the V-representation in cddlib’s ext format.
NOTE:
If there is no vertex given, then the origin will be implicitly added. You cannot write the empty V-representation (which cdd would refuse to process).
EXAMPLES:
sage: from sage.geometry.polyhedron.cdd_file_format import cdd_Vrepresentation
sage: print cdd_Vrepresentation('rational', [[0,0]], [[1,0]], [[0,1]])
V-representation
linearity 1 1
begin
3 3 rational
0 0 1
0 1 0
1 0 0
end