Ask Your Question

bazzatope's profile - activity

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

OK, thanks.

2014-08-11 16:01:29 -0600 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'