Search found 209 matches

Go to advanced search

by joswig
18 Sep 2012, 17:37
Forum: Helpdesk
Topic: edge-neighbors of a facet
Replies: 16
Views: 22101

Re: edge-neighbors of a facet

Essentially, this is the way to go. There is no standard function to do what you want. However, it suffices to have VERTICES_IN_FACETS and the 2-skeleton of the face lattice. You do not need to compute the entire face lattice. See here for how to compute partial face lattices.
by joswig
05 Sep 2012, 10:11
Forum: Helpdesk
Topic: Voronoi Neighbors as ascii output
Replies: 1
Views: 3725

Re: Voronoi Neighbors as ascii output

Here is an example: three points in the plane (we use homogeneous coordinates, hence the extra "1" in front): > $V=new VoronoiDiagram(SITES=>[[1,0,0],[1,1,0],[1,0,1]]); > print $V->FACETS; 0 0 0 1 1 -2 0 1 1 0 -2 1 1 0 0 0 The FACETS correspond to the SITES (in the same ordering). The extr...
by joswig
30 Aug 2012, 12:15
Forum: Helpdesk
Topic: hypersimplex for special cases
Replies: 2
Views: 4860

Re: hypersimplex for special cases

Your complaint is totally justified. I just changed the code accordingly. Please check [10918].
by joswig
09 Jul 2012, 09:57
Forum: Helpdesk
Topic: More newbie questions... polymake commands in files
Replies: 6
Views: 9467

Re: More newbie questions... polymake commands in files

There are several ways to run polymake in a scripted fashion. Scripts as described above. Observe the slight differences in syntax (as compared to what you just type into the shell). The load_command function. Reads commands from a file line by line. Needs a <return> after each line; allows command ...
by joswig
15 Jun 2012, 09:44
Forum: Feature Requests
Topic: callable library: printing polymake banner
Replies: 1
Views: 12287

Re: callable library: printing polymake banner

Will be done. See #554.
by joswig
31 May 2012, 09:56
Forum: Helpdesk
Topic: Mapping between faces of triangulation and faces of polytope
Replies: 3
Views: 6196

Re: Mapping between faces of triangulation and faces of poly

The following is a slight variation/addition to the solution suggested above. Suppose you have a cube and some triangulation. This induces a triangulation of the boundary. $c=cube(3); $t=$c->TRIANGULATION->BOUNDARY; The following (naive) code checks all pairs of facets from the triangulation and the...
by joswig
22 May 2012, 15:01
Forum: Feature Requests
Topic: Method for deciding property REGULAR of fans.
Replies: 2
Views: 11971

Re: Method for deciding property REGULAR of fans.

Done. Will be part of the next release.
by joswig
28 Mar 2012, 19:00
Forum: Helpdesk
Topic: Creating a graph with edge properties
Replies: 7
Views: 9412

Re: Creating a graph with edge properties

Multigraphs do not exits in polymake yet. But they could be modeled as graphs of type props::graph with edge attributes of type int (to count the number of parallel edges). To avoid ambiguity one should probably restrict those attributes to positive integers. In case that later anyone even needs edg...
by joswig
27 Mar 2012, 09:53
Forum: Helpdesk
Topic: Secondary Fans using gfan
Replies: 10
Views: 13432

Re: Secondary Fans using gfan

You may have to do

Code: Select all

reconfigure "gfan.rules";
in application fan.

Go to advanced search