|
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");
|
|