nperm.h File Reference

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

#include <string>

Namespaces

namespace  regina

Classes

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

Functions

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

Variables

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


Detailed Description

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


Copyright © 1999-2006, 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).