-- -*- M2-comint -*- hash: 9060063621017133961

i1 : P = convexHull matrix {{-2,0,2,4},{-8,-2,2,8}}

o1 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 4
      number of rays => 0
      number of vertices => 4

o1 : Polyhedron

i2 : A = matrix {{-5,2},{3,-1}}

o2 = | -5 2  |
     | 3  -1 |

              2       2
o2 : Matrix ZZ  <-- ZZ

i3 : v = matrix {{5},{-3}}

o3 = | 5  |
     | -3 |

              2       1
o3 : Matrix ZZ  <-- ZZ

i4 : Q = affinePreimage(A,P,v)

o4 = {ambient dimension => 2           }
      dimension of lineality space => 0
      dimension of polyhedron => 2
      number of facets => 4
      number of rays => 0
      number of vertices => 4

o4 : Polyhedron

i5 : vertices Q

o5 = | -17 -3  7  21 |
     | -46 -10 16 52 |

              2       4
o5 : Matrix QQ  <-- QQ

i6 : 
