-- -*- M2-comint -*- hash: 3382432636465182139

i1 : nmzFilename="example" -- to keep the files

o1 = example

i2 : setNmzOption("allf",true); -- to write all files

i3 : mat=matrix({{1,2,3},{4,5,6},{7,8,10}});

              3       3
o3 : Matrix ZZ  <-- ZZ

i4 : normaliz(mat,"integral_closure")

o4 = RationalCone{"gen" => | 1 2 3  |                                     }
                           | 2 3 4  |
                           | 3 4 5  |
                           | 4 5 6  |
                           | 7 8 10 |
                  "inv" => HashTable{"" => (1, 1, 1)                     }
                                     "class group" => (0, 3)
                                     "degree 1 elements" => 5
                                     "dim max subspace" => 0
                                     "embedding dim" => 3
                                     "external index" => 1
                                     "graded" => true
                                     "grading denom" => 1
                                     "grading" => (-1, 1, 0)
                                     "hilbert basis elements" => 5
                                     "hilbert quasipolynomial denom" => 2
                                     "hilbert series denom" => (1, 1, 1)
                                     "hilbert series num" => (1, 2)
                                     "inhomogeneous" => false
                                     "integrally closed" => false
                                     "internal index" => 3
                                     "multiplicity denom" => 1
                                     "multiplicity" => 3
                                     "number extreme rays" => 3
                                     "number support hyperplanes" => 3
                                     "rank" => 3
                                     "size triangulation" => 1
                                     "sum dets" => 3

o4 : RationalCone

i5 : readNmzData "typ"

o5 = | 0 3 0 |
     | 1 2 0 |
     | 2 1 0 |
     | 3 0 0 |
     | 0 0 1 |

              5       3
o5 : Matrix ZZ  <-- ZZ

i6 : rmNmzFiles();

i7 : 
