|
D.13.2.53 normalFan
Procedure from library polymake.lib (see polymake_lib).
- Usage:
- normalFan(p); p polytope
- Return:
- fan, the normal fan of p
Example:
| LIB "polymake.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
intmat M[6][4] =
1,1,0,0,
1,0,1,0,
1,0,-1,0,
1,0,0,1,
1,0,0,-1,
1,-1,0,0;
polytope p = polytopeViaPoints(M);
normalFan(p);
==> polymake: used package ppl
==> The Parma Polyhedra Library (PPL): A C++ library for convex polyhedra
==> and other numerical abstractions.
==> http://www.cs.unipr.it/ppl/
==>
==> _application PolyhedralFan
==> _version 2.2
==> _type PolyhedralFan
==>
==> AMBIENT_DIM
==> 3
==>
==> DIM
==> 3
==>
==> LINEALITY_DIM
==> 0
==>
==> RAYS
==> -1 -1 -1 # 0
==> -1 -1 1 # 1
==> -1 1 -1 # 2
==> -1 1 1 # 3
==> 1 -1 -1 # 4
==> 1 -1 1 # 5
==> 1 1 -1 # 6
==> 1 1 1 # 7
==>
==> N_RAYS
==> 8
==>
==> LINEALITY_SPACE
==>
==> ORTH_LINEALITY_SPACE
==> -1 0 0 # 0
==> 0 -1 0 # 1
==> 0 0 -1 # 2
==>
==> F_VECTOR
==> 1 8 12 6
==>
==> SIMPLICIAL
==> 0
==>
==> PURE
==> 1
==>
==> CONES
==> {} # Dimension 0
==> {0} # Dimension 1
==> {1}
==> {2}
==> {3}
==> {4}
==> {5}
==> {6}
==> {7}
==> {0 1} # Dimension 2
==> {0 2}
==> {1 3}
==> {2 3}
==> {0 4}
==> {1 5}
==> {2 6}
==> {3 7}
==> {4 5}
==> {4 6}
==> {5 7}
==> {6 7}
==> {0 1 2 3} # Dimension 3
==> {0 1 4 5}
==> {0 2 4 6}
==> {1 3 5 7}
==> {2 3 6 7}
==> {4 5 6 7}
==>
==> MAXIMAL_CONES
==> {0 1 2 3} # Dimension 3
==> {0 1 4 5}
==> {0 2 4 6}
==> {1 3 5 7}
==> {2 3 6 7}
==> {4 5 6 7}
==>
|
|