Search found 23 matches

Go to advanced search

by soeren
15 Sep 2014, 14:19
Forum: Helpdesk
Topic: truncated_cuboctahedron() constructs truncated octahedron
Replies: 2
Views: 3756

truncated_cuboctahedron() constructs truncated octahedron

Hi,
as far as I could tell the function truncated_cuboctahedron() really constructs a truncated octahedron (instead of a truncated cuboctahedron of course).
Best regards
Soeren
by soeren
11 Aug 2014, 10:20
Forum: Helpdesk
Topic: LATTICE_POINTS & callable library
Replies: 5
Views: 6450

Re: LATTICE_POINTS & callable library

Thanks!
by soeren
08 Aug 2014, 13:27
Forum: Helpdesk
Topic: LATTICE_POINTS & callable library
Replies: 5
Views: 6450

LATTICE_POINTS & callable library

Hi, I would like to compute all lattice points of a polytope via the callable library, e.g. Main pm; pm.set_application("polytope"); perl::Object p("Polytope<Rational>"); p.take("VERTICES") << (ones_vector<Rational>() | 5*unit_matrix<Rational>(4)); Matrix<Rational> latp...
by soeren
16 Jul 2014, 14:31
Forum: Installing polymake
Topic: Mac OS 10.9, errors regarding java, ant
Replies: 1
Views: 4433

Mac OS 10.9, errors regarding java, ant

No question here, just trying to safe some time of someone having similar issues. I just installed polymake on Mac OS 10.9 via Fink and had some (small) issues. I did everything as described in http://polymake.org/doku.php/howto/mac_compiling_fink , but running 'make' I got the error Unable to find ...
by soeren
12 Feb 2013, 22:40
Forum: Helpdesk
Topic: compute volume using callable library
Replies: 8
Views: 8780

Re: compute volume using callable library

I think I got it:
Using perl::Object p("Polytope<Rational>"); instead of perl::Object p("Polytope<Float>"); eliminates all errors. Why is that? Must I always use Polytope<Rational>?
by soeren
11 Feb 2013, 16:38
Forum: Helpdesk
Topic: compute volume using callable library
Replies: 8
Views: 8780

Re: compute volume using callable library

Ah, I didn't knew that. And yes, both 'DIM' and 'AMBIENT_DIM' are equal to 3 (if that's helpful).
by soeren
11 Feb 2013, 16:12
Forum: Helpdesk
Topic: compute volume using callable library
Replies: 8
Views: 8780

Re: compute volume using callable library

Hi Andreas, having a not full-dimensional polytope was my initial thought. However, I tested this with polytopes which are guaranteed to be full dimensional (e.g. cube). Interestingly, polymake tells me that FULL_DIM is true and CONE_DIM as well as CONE_AMBIENT_DIM is 4 (I'm working with 3 dimension...
by soeren
10 Feb 2013, 21:36
Forum: Helpdesk
Topic: compute volume using callable library
Replies: 8
Views: 8780

compute volume using callable library

Hi, when I try to determine the volume of a polytope running the following code: perl::Object K; [...] Rational vol=K.give("VOLUME"); polymake throws an exception: polymake: WARNING: could not compute 'VOLUME' probably because of unsatisfied preconditions: precondition : CONE_DIM, CONE_AMB...
by soeren
10 Feb 2013, 21:25
Forum: Helpdesk
Topic: edge-neighbors of a facet
Replies: 16
Views: 22107

Re: edge-neighbors of a facet

Thanks. Yes, I'm always using nodes_of_dim, just quickly took the example from your tutorials. Nice to know nonetheless.
by soeren
05 Feb 2013, 17:25
Forum: Helpdesk
Topic: edge-neighbors of a facet
Replies: 16
Views: 22107

Re: edge-neighbors of a facet

Hi,
can I assume that the facets given by

Code: Select all

for (my $k=$HD->DIMS->[2]; $k<$HD->DIMS->[3]; ++$k) { print $HD->FACES->[$k] }
(for sake of simplicity let us consider only a 3-dimensional polytope)
Are in the same order as

Code: Select all

print $p->FACETS;
?

Go to advanced search