-
```
sage: C = Cone([(1,0,0), (0,1,0), (1,0,1), (0,1,1)])
sage: F = Fan([C]).make_simplicial()
sage: [cone.ambient_ray_indices() for cone in F]
[(1, 3, 0), (1, 2, 0)]
```
While the output is mathema…
-
In general, `lattice_polytope._embedding_matrix` is not orthogonal. But `facet_normal()` implicitly makes this assumption by embedding the normals (which live in the dual vector space) by the transp…
-
While lattice polytopes compute and store facet normals and shifts internally, there were no functions to access them. This patch adds functions facet_normal and facet_constant to fix the situation.…
-
This patch adds two simple functions to LatticePolytope class for pretty and compact typesetting and a convenient access to the origin of the polytope, if it is one of its points.
Component: **geom…
-
Currently computing faces of a non-full-dimensional lattice polytopes causes and exception, because when I was implementing support for such polytopes I missed a parameter in one place. The attached…
-
The attached patch makes Minkowsky sum handle unbounded polyhedra.
However, as a side effect, it makes bug #6915 blatant, thus doctests don't pass anymore.
Component: **geometry**
_Issue created …
-
On one platform (an itanium machine running red hat), I see this:
```
File "/home/palmieri/cleo/sage-4.4.alpha0/devel/sage/sage/geometry/polyhedra.py", line 3147:
sage: for lset in polytopes.cr…
-
The Sage source distribution must ship with a bare minimum of opaque potentially dangerous binary files. Pickles (i.e. sobjs) are opaque binary files that can invoke arbitrary code when being unpi…
-
Let's look at the first face of each dimension of a polyhedron:
```
for lset in polytopes.cross_polytope(2).face_lattice().level_sets():
print lset[0]
```
The result is
```
(None, None)
((0,)…
-
... and I haven't yet tried this version on any other OS X platforms. Reported by William Stein:
```
This fails completely to build on bsd.math.washington.edu (OS X 10.6).
/i686-apple-darwin10/4.2…