Top
Back: dualCone
Forward: facets
FastBack: coneViaInequalities
FastForward: fan
Up: cone related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.23.3.13 equations

Syntax:
equations( cone c )
equations( polytope p )
Type:
bigintmat
Purpose:
equations given by the cone or polytope
Example:
 
intmat M1[2][2]=
1,0,
0,1;
cone c1=coneViaPoints(M1);
bigintmat E1=equations(c1);
print(E1);
==> 
intmat M2[1][2]=
1,0;
cone c2=coneViaPoints(M2);
bigintmat E2=equations(c2);
print(E2);
==> 0, -1
// polytope generated by the unit vectors in dimension 3
bigintmat N[3][4]=
1,1,0,0,
1,0,1,0,
1,0,0,1;
polytope p=polytopeViaPoints(N);
bigintmat F=equations(p);
print(F);
==> 1, -1, -1, -1

Top Back: dualCone Forward: facets FastBack: coneViaInequalities FastForward: fan Up: cone related functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-7, Aug 2013, generated by texi2html.