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

4.22.3.23 linealityDimension

Syntax:
linealityDimension( cone c ) linealityDimension( fan c )
Type:
int
Purpose:
dimension of the lineality space of the cone
Example:
 
LIB"gfanlib.so";
intmat M1[3][3]=
1,0,0,
0,1,0,
0,0,1;
cone c1=coneViaPoints(M1);
linealityDimension(c1);
==> 0
intmat M2[4][3]=
1,0,0,
0,1,0,
0,0,1,
-1,0,0;
cone c2=coneViaPoints(M2);
linealityDimension(c2);
==> 1