Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 5655

Macaulay2-1.3.1-8.fc15.i686.rpm

-- -*- M2-comint -*- {* hash: 232725288 *}

i1 : P = cyclicPolytope(3,5)

o1 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of polyhedron => 3
      number of facets => 6
      number of rays => 0
      number of vertices => 5

o1 : Polyhedron

i2 : p = matrix{{2},{4},{8}}

o2 = | 2 |
     | 4 |
     | 8 |

              3        1
o2 : Matrix ZZ  <--- ZZ

i3 : q = matrix{{2},{6},{20}}

o3 = | 2  |
     | 6  |
     | 20 |

              3        1
o3 : Matrix ZZ  <--- ZZ

i4 : inInterior(p,P)

o4 = false

i5 : inInterior(q,P)

o5 = true

i6 :