libsemigroups / HPCombi

Fast combinatorics in C++ using SSE/AVX instruction sets
https://libsemigroups.github.io/HPCombi/
GNU General Public License v3.0
15 stars 7 forks source link

Add PPerm16 class #6

Closed james-d-mitchell closed 4 years ago

james-d-mitchell commented 6 years ago

It would be great if HPCombi had a class for partial permutations, which had a constructor taking two vectors A and B so that the resulting partial perm f mapped A[i] to B[i] for every i.

hivert commented 6 years ago

Constructor from domain and range is now done !