Function unsafe_hacspec_examples::ntru_prime::ntru_prime::round_to_3
source · [−]Expand description
First transform each coefficients to a value between −(q−1)/2 and (q−1)/2 then round it to the nearest multiple of 3