Ask Your Question

bazzatope's profile - activity

2019-08-27 22:26:12 +0200 received badge  Student (source)
2014-08-11 23:51:40 +0200 answered a question Does the .faces function in the polytope package work?

OK, thanks.

2014-08-11 23:01:29 +0200 asked a question Does the .faces function in the polytope package work?
 $ sage
----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: P = polytopes.cross_polytope(3)
sage: P.vertices()
[[0, 0, 1], [0, 1, 0], [1, 0, 0], [0, 0, -1], [0, -1, 0], [-1, 0, 0]]
sage: P.faces(3)                     
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/home/barry/<ipython console> in <module>()

AttributeError: 'Polyhedron' object has no attribute 'faces'