Singular Manual: numberOfConesOfDimension

  | #### 4.23.1.12 numberOfConesOfDimension `Syntax:` `numberOfConesOfDimension(` fan f, int dimension, int orbit, int maximal `)` `Type:` int `Purpose:` number of cones (orbit=0) or orbits (orbit=1) of a given dimension; if maximal=0, then all cones are considered, if maximal=1, only maximal cones are considered `Example:`
      LIB"gfanlib.so";
      fan f=emptyFan(3);
      ncones(f);
      ==> 0
      intmat M[3][3]=
      1,0,0,
      0,1,0,
      0,0,1;
      cone c=coneViaPoints(M);
      insertCone(f,c);
      numberOfConesOfDimension(f,0,0,0);
      ==> 1
      numberOfConesOfDimension(f,0,0,1);
      ==> 0
      numberOfConesOfDimension(f,1,0,0);
      ==> 3
      numberOfConesOfDimension(f,0,0,1);
      ==> 0
      numberOfConesOfDimension(f,2,0,0);
      ==> 3
      numberOfConesOfDimension(f,2,0,1);
      ==> 0
      numberOfConesOfDimension(f,3,0,0);
      ==> 1
      numberOfConesOfDimension(f,3,0,1);
      ==> 1

User manual for Singular version 4-0-2, 2015, generated by texi2html.