Hi, I'm new here and I'm so lost. What I have to do is to compute the f-vector of the direct sum of two 3-dimensional permuthaedron of 24 vertices.
First of all, I think this is a truncate dodecahedron, so with this code I found those vertices:
-$oct = cross(3);
-$oct_trunc=truncation($oct,All);
-print $oct_trunc->VERTICES;
1 3/4 1/4 0
1 3/4 -1/4 0
1 3/4 0 1/4
1 3/4 0 -1/4
1 -3/4 1/4 0
1 -3/4 -1/4 0
1 -3/4 0 1/4
1 -3/4 0 -1/4
1 1/4 3/4 0
1 -1/4 3/4 0
1 0 3/4 1/4
1 0 3/4 -1/4
1 1/4 -3/4 0
1 -1/4 -3/4 0
1 0 -3/4 1/4
1 0 -3/4 -1/4
1 1/4 0 3/4
1 -1/4 0 3/4
1 0 1/4 3/4
1 0 -1/4 3/4
1 1/4 0 -3/4
1 -1/4 0 -3/4
1 0 1/4 -3/4
1 0 -1/4 -3/4
Now, I have a .cc program that calculate direct sum of two polytopes. BUt I don't know how to compile this,
I need two files, one of them will contains this vertices, and the other one the direct_sum.cc code, and I have to use polymake code to compute the direct sum and then calculate the f-vector.
Could you help me please?
PD: Sorry for my English