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

4.23.1.2 getCone

Syntax:
getCone( fan f, int dimension, int index, int orbit, int maximal )
Type:
cone
Purpose:
cone (orbit=0) or orbit (orbit=1) of a certain index (ranges from 1 to numberOfConesOfDimension(f,2,0,0)) in a given dimension; if maximal=0, all cones and orbits are considered, if maximal=1, only maximal cones and orbits are considered
Example:
 
intmat M[3][3]=
1,0,0,
0,1,0,
0,0,1;
cone c=coneViaRays(M);
fan f=emptyFan(3);
insertCone(f,c);
getCone(f,2,1,0,0);
==> AMBIENT_DIM
==> 3
==> INEQUALITIES
==> 0,0,1,
==> 0,1,0
==> EQUATIONS
==> -1,0,0
==> 
getCone(f,2,2,0,0);
==> AMBIENT_DIM
==> 3
==> INEQUALITIES
==> 0,0,1,
==> 1,0,0
==> EQUATIONS
==> 0,-1,0
==> 
getCone(f,2,3,0,0);
==> AMBIENT_DIM
==> 3
==> INEQUALITIES
==> 0,1,0,
==> 1,0,0
==> EQUATIONS
==> 0,0,-1
==> 

Top Back: containsInCollection Forward: insertCone 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 3-1-4, Jan 2012, generated by texi2html.