pub struct BinaryU64PolyInnerProduct<R, const DEGREE_PLUS_ONE: usize>(/* private fields */);Trait Implementations§
Source§impl<R: Clone, const DEGREE_PLUS_ONE: usize> Clone for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
impl<R: Clone, const DEGREE_PLUS_ONE: usize> Clone for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
Source§fn clone(&self) -> BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
fn clone(&self) -> BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
Returns a duplicate 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 moreSource§impl<R: Debug, const DEGREE_PLUS_ONE: usize> Debug for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
impl<R: Debug, const DEGREE_PLUS_ONE: usize> Debug for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
Source§impl<Rhs, Out, const DEGREE_PLUS_ONE: usize> InnerProduct<BinaryU64Poly<DEGREE_PLUS_ONE>, Rhs, Out> for BinaryU64PolyInnerProduct<Rhs, DEGREE_PLUS_ONE>
impl<Rhs, Out, const DEGREE_PLUS_ONE: usize> InnerProduct<BinaryU64Poly<DEGREE_PLUS_ONE>, Rhs, Out> for BinaryU64PolyInnerProduct<Rhs, DEGREE_PLUS_ONE>
Source§fn inner_product<const CHECK: bool>(
lhs: &BinaryU64Poly<DEGREE_PLUS_ONE>,
rhs: &[Rhs],
zero: Out,
) -> Result<Out, InnerProductError>
fn inner_product<const CHECK: bool>( lhs: &BinaryU64Poly<DEGREE_PLUS_ONE>, rhs: &[Rhs], zero: Out, ) -> Result<Out, InnerProductError>
The main entry point for the inner product.
CHECK determines whether the implementation should check for overflow.Auto Trait Implementations§
impl<R, const DEGREE_PLUS_ONE: usize> Freeze for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
impl<R, const DEGREE_PLUS_ONE: usize> RefUnwindSafe for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>where
R: RefUnwindSafe,
impl<R, const DEGREE_PLUS_ONE: usize> Send for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>where
R: Send,
impl<R, const DEGREE_PLUS_ONE: usize> Sync for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>where
R: Sync,
impl<R, const DEGREE_PLUS_ONE: usize> Unpin for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>where
R: Unpin,
impl<R, const DEGREE_PLUS_ONE: usize> UnsafeUnpin for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>
impl<R, const DEGREE_PLUS_ONE: usize> UnwindSafe for BinaryU64PolyInnerProduct<R, DEGREE_PLUS_ONE>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more