next | previous | forward | backward | up | top | index | toc | Macaulay2 website
OldPolyhedra :: posOrthant

posOrthant -- generates the positive orthant in n-space

Synopsis

Description

Generates the positive orthant in the n dimensional space as a cone.

i1 : C = posOrthant 3

o1 = {ambient dimension => 3           }
      dimension of lineality space => 0
      dimension of the cone => 3
      number of facets => 3
      number of rays => 3

o1 : Cone
i2 : rays C

o2 = | 1 0 0 |
     | 0 1 0 |
     | 0 0 1 |

              3        3
o2 : Matrix ZZ  <--- ZZ

Ways to use posOrthant :

For the programmer

The object posOrthant is a method function.