Struct lehmer::Lehmer
[−]
[src]
pub struct Lehmer { pub code: Vec<u64>, }
Fields
code: Vec<u64>
pub struct Lehmer { pub code: Vec<u64>, }
code: Vec<u64>
impl Lehmer
[src]pub fn from_permutation(vec: Vec<u64>) -> Self
[src]pub fn from_decimal(decimal: u64, n: usize) -> Self
[src]pub fn to_permutation(self) -> Vec<u64>
[src]pub fn to_decimal(self) -> u64
[src]