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

ScalingPermutation< T > Class Template Reference
[Permutations]

ScalingPermutation<T> generalizes Permutation; elements can be scaled as well as permuted. Underlies PermScaleMatrix. NO DOC YET! More...

#include <permutation.h>

Inherits Permutation.

Inherited by PermScaleMatrix< T >.

Inheritance diagram for ScalingPermutation< T >:

Inheritance graph
[legend]
Collaboration diagram for ScalingPermutation< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScalingPermutation (itype n)
 ScalingPermutation (const Permutation &other)
 ScalingPermutation (const ScalingPermutation &other)
 ScalingPermutation (const std::vector< itype > &vec)
 ScalingPermutation (const std::vector< itype > &vec, const std::vector< T > &scal)
Scale (itype i) const
void SetScale (itype i, complex s)
ScalingPermutationreset ()
ScalingPermutationreset (itype newsize)
ScalingPermutationoperator= (const ScalingPermutation &other)
ScalingPermutationoperator= (const Permutation &other)
ScalingPermutationswap (itype i, itype j)
ScalingPermutationoperator *= (const ScalingPermutation &other)
ScalingPermutationoperator *= (const Permutation &other)
ScalingPermutation inverse () const
void Print (std::ostream &out=std::cout) const
bool operator== (const Permutation &other) const
bool operator== (const ScalingPermutation &other) const
ScalingPermutation operator * (const Permutation &two) const
ScalingPermutation operator * (const ScalingPermutation &two) const
itype Size () const
itype operator[] (itype n) const
void PrintCycles (std::ostream &out=std::cout) const
Permutationrandomize ()

Protected Member Functions

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

Protected Attributes

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

Detailed Description

template<typename T>
class ScalingPermutation< T >

ScalingPermutation<T> generalizes Permutation; elements can be scaled as well as permuted. Underlies PermScaleMatrix. 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