pub struct Projection { /* private fields */ }
Implementations§
Source§impl Projection
impl Projection
pub fn new( random_linear_map_vector: Vec<RqMatrix>, security_level: usize, ) -> Self
pub fn compute_batch_projection(&self, witness_vector: &[RqVector]) -> Vec<Zq>
pub fn get_projection_matrices(&self) -> &[RqMatrix]
pub fn get_conjugated_projection_matrices(&self) -> Vec<RqMatrix>
pub fn verify_projection_upper_bound( projection: &[Zq], beta_squared: Zq, ) -> bool
pub fn verify_projection_lower_bound( projection: &[Zq], beta_squared: Zq, ) -> bool
Auto Trait Implementations§
impl Freeze for Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnwindSafe for Projection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more