Regina Calculation Engine
Classes | Namespaces | Functions | Variables
nperm4.h File Reference

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

#include <string>
#include "regina-core.h"

Classes

class  regina::NPerm4
 Represents a permutation of {0,1,2,3}. More...
 

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 

Functions

REGINA_API std::ostream & regina::operator<< (std::ostream &out, const NPerm4 &p)
 Writes a string representation of the given permutation to the given output stream. More...
 
REGINA_API NPerm4 regina::faceOrdering (int face)
 Returns a permutation mapping (0,1,2) to the vertices of the given tetrahedron face in their canonical order. More...
 
REGINA_API NPerm4 regina::edgeOrdering (int edge)
 Returns a permutation mapping (0,1) to the vertices of the given tetrahedron edge in their canonical order. More...
 
REGINA_API std::string regina::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(). More...
 
REGINA_API std::string regina::faceDescription (const NPerm4 &facePerm)
 Returns a string representation of the given permutation with only the images of 0, 1 and 2 included. More...
 
REGINA_API std::string regina::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(). More...
 
REGINA_API std::string regina::edgeDescription (const NPerm4 &edgePerm)
 Returns a string representation of the given permutation with only the images of 0 and 1 included. More...
 

Variables

REGINA_API const NPerm4 * regina::allPermsS4
 An array of size 24 containing all possible permutations of four elements. More...
 
REGINA_API const unsigned * regina::allPermsS4Inv
 An array of size 24 containing the inverses of the permutations in the array allPermsS4. More...
 
REGINA_API const NPerm4 * regina::orderedPermsS4
 An array of size 24 containing all possible permutations of four elements in lexicographical order. More...
 
REGINA_API const NPerm4 * regina::allPermsS3
 An array of size 6 containing all possible permutations of three elements. More...
 
REGINA_API const unsigned * regina::allPermsS3Inv
 An array of size 6 containing the inverses of the permutations in the array allPermsS3. More...
 
REGINA_API const NPerm4 * regina::orderedPermsS3
 An array of size 6 containing all possible permutations of three elements in lexicographical order. More...
 
REGINA_API const NPerm4 * regina::allPermsS2
 An array of size 2 containing all possible permutations of two elements. More...
 
REGINA_API const unsigned * regina::allPermsS2Inv
 An array of size 2 containing the inverses of the permutations in the array allPermsS2. More...
 

Detailed Description

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


Copyright © 1999-2013, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).