Home Online Manual
Top
Back: canonicalizeCone
Forward: coneLink
FastBack: coneViaInequalities
FastForward: fan
Up: cone related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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