HPCombi
High Performance Combinatorics in C++ using vector instructions v1.0.1
Loading...
Searching...
No Matches
common_lehmer Class Reference

The Lehmer code of a permutation. More...

#include <perm16.hpp>

Detailed Description

The Lehmer code of a permutation.

Returns
the Lehmer code of *this
Example:
Perm16 x = {0,3,2,4,1,5,6,7,8,9,10,11,12,13,14,15};
x.lehmer()
Returns
{0,2,1,1,0,0,0,0,0,0,0,0,0,0,0,0} 

The documentation for this class was generated from the following file: