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

Permutation Class Reference
[Permutations]

The Permutation class forms the mathematical basis of PermutationMatrix, and can be used independently for computing in the symmetric group. NO DOC YET! More...

#include <permutation.h>

Inherited by ScalingPermutation< T >.

Inheritance diagram for Permutation:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Permutation (itype n)
 Permutation (const Permutation &other)
 Permutation (const std::vector< itype > &vec)
 Permutation (itype n, itype i, itype j)
itype Size () const
Permutationoperator= (const Permutation &other)
itype operator[] (itype n) const
Permutationreset ()
Permutationreset (itype newsize)
Permutationswap (itype i, itype j)
Permutationoperator *= (const Permutation &other)
Permutation inverse () const
void Print (std::ostream &out=std::cout) const
void PrintCycles (std::ostream &out=std::cout) const
bool operator== (const Permutation &other) const
Permutation operator * (const Permutation &two) const
Permutationrandomize ()

Protected Member Functions

bool badrange (itype i) const
bool valid () const

Protected Attributes

itypemap
 C-style array containing the action of the permutation as: $ i \rightarrow \mathrm{map}[i] $ .
itype N

Detailed Description

The Permutation class forms the mathematical basis of PermutationMatrix, and can be used independently for computing in the symmetric group. NO DOC YET!


The documentation for this class was generated from the following file:
Generated on Wed Jun 14 22:25:29 2006 for linalg by  doxygen 1.4.4