Singular Manual: isSmooth

  | #### D.16.2.20 isSmooth `Syntax:` `Polymake::isSmooth(` cone c `)` `Polymake::isSmooth(` fan f `)` `Polymake::isSmooth(` polytope p `)` `Type:` int `Purpose:` 1 if c, f or p is smooth, 0 otherwise. `Example:`
        LIB"polymake.lib";
        intmat M[2][2]=1,0, 0,1;
        cone c1 = coneViaPoints(M);
        Polymake::isSmooth(c1);
        intmat N[3][3]=1,0, 1,2;
        cone c2 = coneViaPoints(N);
        Polymake::isSmooth(c2);
        intmat M[2][2]=1,0, 0,1;
        cone c = coneViaPoints(M);
        fan F1 = emptyFan(2);
        insertCone(F1,c);
        Polymake::isSmooth(F1);
        intmat N[3][3]=1,-2,-3, 1,1,0, 1,0,1;
        polytope q = polytopeViaPoints(N);
        fan F2 = Polymake::normalFan(q);
        Polymake::isSmooth(F2);
        intmat M[4][3]=1,2,0, 1,0,1, 1,2,1, 1,0,0;
        polytope p = polytopeViaPoints(M);
        Polymake::isSmooth(p);
        intmat N[3][3]=1,-2,-3, 1,1,0, 1,0,1;
        polytope q = polytopeViaPoints(N);
        Polymake::isSmooth(q);

User manual for Singular version 4-0-3p3, 2016, generated by texi2html.