#include <combinatorics.hh>
Public Member Functions | |
| symmetriser () | |
| void | apply_symmetry (long start=-1, long end=-1) |
| range_t | values_to_locations (const std::vector< T > &values) const |
| const std::vector< T > & | operator[] (unsigned int) const |
| int | signature (unsigned int) const |
| void | set_multiplicity (unsigned int pos, int val) |
| unsigned int | size () const |
| void | clear () |
| void | collect () |
| Collect equal entries, and adjust the multiplier field accordingly. | |
| void | remove_multiplicity_zero () |
Public Attributes | |
| std::vector< T > | original |
| unsigned int | block_length |
| std::vector< unsigned int > | permute_blocks |
| std::vector< T > | value_permute |
| int | permutation_sign |
| std::vector< unsigned int > | sublengths |
| range_vector_t | input_asym |
| range_vector_t | sublengths_scattered |
Private Attributes | |
| symm_helper< T > | sh_ |
| symm_val_helper< T > | svh_ |
| unsigned int | current_ |
| std::vector< std::vector< T > > | originals |
| std::vector< int > | multiplicity |
Friends | |
| class | symm_helper< T > |
| class | symm_val_helper< T > |
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Collect equal entries, and adjust the multiplier field accordingly.
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Convert vectors of values to vectors of locations in the original (mainly useful to create input_asym for permutation by value). |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.4.6