fn orthoplex_counts(n: usize) -> impl DoubleEndedIterator<Item = usize> {
        choose(n - 1)
            .into_iter()
            .enumerate()
            .map(|(k, c)| c << k)
            .chain(std::iter::once(1))
    }
/// Returns an iterator over the element counts of an n-hypercube.
Returns an iterator over the element counts of an n-hypercube.
Returns an iterator over the element counts of an n - hypercube .
fn orthoplex_counts(n: usize) -> impl DoubleEndedIterator<Item = usize> {
        choose(n - 1)
            .into_iter()
            .enumerate()
            .map(|(k, c)| c << k)
            .chain(std::iter::once(1))
    }
fn orthoplex_counts ( n : usize ) -> impl DoubleEndedIterator < Item = usize > { choose ( n - 1 ) . into_iter ( ) . enumerate ( ) . map ( | ( k , c ) | c << k ) . chain ( std :: iter :: once ( 1 ) ) }
Returns an iterator over the element counts of an n-hypercube.
Returns an iterator over the element counts of an n - hypercube .
n
usize
n
usize