Macaulay2 » Documentation
Packages » FourTiTwo :: rays
next | previous | forward | backward | up | index | toc

rays -- calculates the extreme rays of the cone; invokes "rays" from 4ti2

Synopsis

Description

i1 : A = matrix "1,1,1,1; 1,2,3,4"

o1 = | 1 1 1 1 |
     | 1 2 3 4 |

              2        4
o1 : Matrix ZZ  <--- ZZ
i2 : B = syz A

o2 = | 1  2  |
     | -2 -3 |
     | 1  0  |
     | 0  1  |

              4        2
o2 : Matrix ZZ  <--- ZZ
i3 : rays(transpose B)

o3 = | 0 1 2 3 |
     | 3 2 1 0 |

              2        4
o3 : Matrix ZZ  <--- ZZ

Ways to use rays :

For the programmer

The object rays is a method function.