issues
search
quarkslab
/
NFLlib
NTT-based Fast Lattice library
MIT License
167
stars
52
forks
source link
hamming weight sampling.
#36
Closed
fionser
closed
6 years ago
fionser
commented
6 years ago
HWT sampling.
given parameter k, to set k coefficients of the polynomials as -1 or 1.
using reservoir sampling to make sure that each coefficient will be set with an equal probability.
carlosaguilarmelchor
commented
6 years ago
Already present on PR#37.
carlosaguilarmelchor
commented
6 years ago
Closing it as a consequence.