|
4.22.3.3 codimension
Syntax:
codimension( cone c )
codimension( fan f )
codimension( polytope c )
Type:
- int
Purpose:
- codimension of the cone;
Example:
| LIB"gfanlib.so";
intmat M1[1][2]=
1,0;
cone c1=coneViaPoints(M1);
codimension(c1);
==> 1
intmat M2[1][2]=
0,0;
cone c2=coneViaPoints(M2);
codimension(c2);
==> 2
|
|