Changes between Initial Version and Version 1 of Ticket #29683, comment 72


Ignore:
Timestamp:
05/21/21 03:33:38 (5 months ago)
Author:
yzh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29683, comment 72

    initial v1  
    1 It's still not all correct in the corner case.
     1It's still not all correct in the corner cases.
    22{{{
    33sage: P = Polyhedron(vertices=[[1,0]], lines=[[1,1]])                                                     
     
    77A 1-dimensional face of a Polyhedron in QQ^2 defined as the convex hull of 1 vertex and 1 line
    88}}}
    9 Expected to have `ValueError: the join is not well-defined`
     9and
     10{{{
     11sage: R = Polyhedron(vertices=[[1,0]], rays=[[1,1]])                                                       
     12sage: R.Vrepresentation()                                                                                 
     13(A vertex at (1, 0), A ray in the direction (1, 1))
     14sage: R.join_of_Vrep(1)                                                                                   
     15A 1-dimensional face of a Polyhedron in QQ^2 defined as the convex hull of 1 vertex and 1 ray
     16}}}
     17Expected to have `ValueError: the join is not well-defined` for both.
    1018
    1119With one more vertex, it's correct though: