pub enum ConvolutionType {
Cyclic,
Negacyclic,
}Expand description
This enum only serves the purpose of distinguishing between cycic or negacyclic wrapping in polynomial rings, and more specificially, for the purpose of distinguishing them when utilizing NTT for the polynomial rings.
Variants§
Trait Implementations§
Source§impl Clone for ConvolutionType
impl Clone for ConvolutionType
Source§fn clone(&self) -> ConvolutionType
fn clone(&self) -> ConvolutionType
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 Debug for ConvolutionType
impl Debug for ConvolutionType
Source§impl PartialEq for ConvolutionType
impl PartialEq for ConvolutionType
impl StructuralPartialEq for ConvolutionType
Auto Trait Implementations§
impl Freeze for ConvolutionType
impl RefUnwindSafe for ConvolutionType
impl Send for ConvolutionType
impl Sync for ConvolutionType
impl Unpin for ConvolutionType
impl UnwindSafe for ConvolutionType
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