Top
Back: groebnerFan
Forward: polymakeToIntmat
FastBack: Tropical Geometry
FastForward: tropical_lib
Up: oldpolymake_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.1.6 intmatToPolymake

Procedure from library oldpolymake.lib (see oldpolymake_lib).

Usage:
intmatToPolymake(M,art); M intmat, art string

Assume:
- M is an integer matrix which should be transformed into polymake format;
- art is one of the following strings:
+ 'rays' : indicating that a first column of 0's should be added
+ 'points' : indicating that a first column of 1's should be added

Return:
string, the matrix is transformed in a string and a first column has been added

Example:
 
LIB "oldpolymake.lib";
intmat M[3][4]=1,2,3,4,5,6,7,8,9,10,11,12;
intmatToPolymake(M,"rays");
intmatToPolymake(M,"points");


Top Back: groebnerFan Forward: polymakeToIntmat FastBack: Tropical Geometry FastForward: tropical_lib Up: oldpolymake_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.