Top
Back: isPure
Forward: ncones
FastBack: cone
FastForward: polytope
Up: fan related functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

4.23.1.10 nmaxcones

Syntax:
nmaxcones( fan f )
Type:
int
Purpose:
number of maximal cones in f
Example:
 
LIB"gfanlib.so";
fan f=emptyFan(3);
nmaxcones(f);
==> 0
intmat M1[3][3]=
1,0,0,
0,1,0,
0,0,1;
cone c1=coneViaPoints(M1);
insertCone(f,c1);
nmaxcones(f);
==> 1
intmat M2[2][3]=
1,0,0,
0,-1,0;
cone c2=coneViaPoints(M2);
insertCone(f,c2);
nmaxcones(f);
==> 2

Top Back: isPure Forward: ncones FastBack: cone FastForward: polytope Up: fan related functions Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.