pub fn round_to_3(poly: &Seq<i128>, q: i128) -> Seq<i128>
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