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

4.22.3.11 dimension

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