Ask Your Question

Revision history [back]

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'

Does the .faces function in the polytope package work?

 $ sage

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]]

0]] sage: P.faces(3)

--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)

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

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

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

'faces'