mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
Fixed gadget product & added noise estimations
This commit is contained in:
@@ -42,6 +42,9 @@ pub trait VecZnxApi {
|
||||
|
||||
/// Zeroes the backing array.
|
||||
fn zero(&mut self);
|
||||
|
||||
/// Normalization: propagates carry and ensures each coefficients
|
||||
/// falls into the range [-2^{K-1}, 2^{K-1}].
|
||||
fn normalize(&mut self, log_base2k: usize, carry: &mut [u8]);
|
||||
|
||||
/// Right shifts the coefficients by k bits.
|
||||
|
||||
Reference in New Issue
Block a user