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.
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.
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.
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().
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.
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().
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.

Variables

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

Detailed Description

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


Copyright © 1999-2012, The Regina development team
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).