|
4.23.3.19 inequalities
Syntax:
inequalities( cone c )
inequalities( polytope p )
Type:
- bigintmat
Purpose:
- inequalities given by the cone or polytope
Example:
| intmat M1[2][2]=
1,0,
0,1;
cone c1=coneViaPoints(M1);
bigintmat I1=inequalities(c1);
print(I);
==> `I`
intmat M2[1][2]=
1,0;
cone c2=coneViaPoints(M2);
bigintmat I2=inequalities(c2);
print(I2);
==> 1, 0
// simplex in dimension 2
bigintmat N[3][3] = 1,0,0, 1,1,0, 1,0,1;
polytope p = polytopeViaPoints(N);
inequalities(p);
==> 0, 0, 1,
==> 0, 1, 0,
==> 1, -1, -1
|
|