#include <permutation.h>
Inherits Permutation.
Inherited by PermScaleMatrix< T >.
Inheritance diagram for ScalingPermutation< T >:
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) | |
T | Scale (itype i) const |
void | SetScale (itype i, complex s) |
ScalingPermutation & | reset () |
ScalingPermutation & | reset (itype newsize) |
ScalingPermutation & | operator= (const ScalingPermutation &other) |
ScalingPermutation & | operator= (const Permutation &other) |
ScalingPermutation & | swap (itype i, itype j) |
ScalingPermutation & | operator *= (const ScalingPermutation &other) |
ScalingPermutation & | operator *= (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 |
Permutation & | randomize () |
Protected Member Functions | |
bool | badrange (itype i) const |
bool | valid () const |
Protected Attributes | |
T * | scale |
itype * | map |
C-style array containing the action of the permutation as: ![]() | |
itype | N |