Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

nperm.h File Reference

Deals with permutations of {0,1,2,3}. More...

#include <string>

Namespaces

namespace  regina

Functions

std::ostream & operator<< (std::ostream &out, const NPerm &p)
 Writes a string representation of the given permutation to the given output stream.
NPerm faceOrdering (int face)
 Returns a permutation mapping (0,1,2) to the vertices of the given tetrahedron face in their canonical order.
NPerm edgeOrdering (int edge)
 Returns a permutation mapping (0,1) to the vertices of the given tetrahedron edge in their canonical order.
std::string faceDescription (int face)
 Returns a string representation of the permutation mapping (0,1,2) to the vertices of the given tetrahedron face in their canonical order, as described in faceOrdering().
std::string faceDescription (const NPerm &facePerm)
 Returns a string representation of the given permutation with only the images of 0, 1 and 2 included.
std::string edgeDescription (int edge)
 Returns a string representation of the permutation mapping (0,1) to the vertices of the given tetrahedron edge in their canonical order, as described in edgeOrdering().
std::string edgeDescription (const NPerm &edgePerm)
 Returns a string representation of the given permutation with only the images of 0 and 1 included.

Variables

const NPerm allPermsS4 [24]
 Contains all possible permutations of four elements.
const unsigned allPermsS4Inv [24]
 Contains the inverses of the permutations in array allPermsS4.
const NPerm orderedPermsS4 [24]
 Contains all possible permutations of four elements in lexicographical order.
const NPerm allPermsS3 [6]
 Contains all possible permutations of three elements.
const unsigned allPermsS3Inv [6]
 Contains the inverses of the permutations in array allPermsS3.
const NPerm orderedPermsS3 [6]
 Contains all possible permutations of three elements in lexicographical order.
const NPerm allPermsS2 [2]
 Contains all possible permutations of two elements.
const unsigned allPermsS2Inv [2]
 Contains the inverses of the permutations in array allPermsS2.


Detailed Description

Deals with permutations of {0,1,2,3}.


Copyright © 1999-2004, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).