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

The inverse of a partial permutation. More...

#include <perm16.hpp>

Detailed Description

The inverse of a partial permutation.

Returns
the inverse of *this. The inverse of \(p\) is the unique partial permutation \(i\) such that \( p * i * p = p\) and \( i * p * i = i\)
Example:
Perm16 x = {0,3,2,4,0xFF,5,6,0xFF,8,9,11,0xFF,12,0xFF,0xFF,0xFF};
x.inverse()
Returns
{0,0xFF,2,1,3,5,6,0xFF,8,9,0xFF,10,12,0xFF,0xFF,0xFF}
* 

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