17 #ifndef MYGSL_PERMUTATION_H 18 #define MYGSL_PERMUTATION_H 1 39 const size_t*
data()
const;
41 size_t get(
size_t i_)
const;
49 void swap(
size_t i_,
size_t j_);
59 void init(
size_t sz_);
73 void print(std::ostream & out_,
bool eol_ =
false)
const;
83 struct permutation_impl;
84 permutation_impl *pImpl;
89 #endif // MYGSL_PERMUTATION_H
size_t linear_cycles() const
Definition: permutation.h:25
void print(std::ostream &out_, bool eol_=false) const
friend std::istream & operator>>(std::istream &in_, permutation &p_)
permutation & operator=(const permutation &p_)
bool is_initialized() const
bool canonical_to_linear(permutation &p_)
friend std::ostream & operator<<(std::ostream &out_, const permutation &p_)
bool inverse(permutation &p_)
bool linear_to_canonical(permutation &p_)
permutation & operator++()
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
permutation & operator--()
void swap(size_t i_, size_t j_)
size_t inversions() const
size_t canonical_cycles() const
const size_t * data() const
size_t get(size_t i_) const