pub struct Projections {
pub projection: ZqVector,
}
Fields§
§projection: ZqVector
Implementations§
Source§impl Projections
impl Projections
Sourcepub fn new(matrices: &[Vec<ZqVector>], witness: &[PolyVector]) -> Self
pub fn new(matrices: &[Vec<ZqVector>], witness: &[PolyVector]) -> Self
Calculates Projection
Sourcepub fn get_projection(&self) -> &ZqVector
pub fn get_projection(&self) -> &ZqVector
Obtain projection
Sourcepub fn norm_squared(&self) -> Zq
pub fn norm_squared(&self) -> Zq
Euclidean norm
Trait Implementations§
Source§impl Clone for Projections
impl Clone for Projections
Source§fn clone(&self) -> Projections
fn clone(&self) -> Projections
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for Projections
impl RefUnwindSafe for Projections
impl Send for Projections
impl Sync for Projections
impl Unpin for Projections
impl UnwindSafe for Projections
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