Singular

Home Online Manual
Top
Back: getInequalities
Forward: getLinealitySpace
FastBack: quickConeViaNormals
FastForward: fan
Up: cone related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.22.4.16 getLinealityDimension

Syntax:
getLinealityDimension( cone c ) getLinealityDimension( fan c )
Type:
int
Purpose:
dimension of the lineality space of the cone
Example:
 
intmat M1[3][3]=
1,0,0,
0,1,0,
0,0,1;
cone c1=coneViaRays(M1);
getLinealityDimension(c1);
==> 0
intmat M2[4][3]=
1,0,0,
0,1,0,
0,0,1,
-1,0,0;
cone c2=coneViaRays(M2);
getLinealityDimension(c2);
==> 1