next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

normaliz

Description

This function applies Normaliz to the parameter sgr in the mode set by nmzMode. The function returns the Matrix defined by the file with suffix gen , if computed.
i1 : sgr=matrix({{1,2,3},{4,5,6},{7,8,10}});

              3        3
o1 : Matrix ZZ  <--- ZZ
i2 : normaliz(sgr,0)

o2 = | 1 2 3  |
     | 2 3 4  |
     | 3 4 5  |
     | 4 5 6  |
     | 7 8 10 |

              5        3
o2 : Matrix ZZ  <--- ZZ

Ways to use normaliz :