pub struct TwoAdicMultiplicativeCoset<Val: TwoAdicField> {
pub log_n: usize,
pub shift: Val,
}
Fields§
§log_n: usize
§shift: Val
Trait Implementations§
Source§impl<Val: Clone + TwoAdicField> Clone for TwoAdicMultiplicativeCoset<Val>
impl<Val: Clone + TwoAdicField> Clone for TwoAdicMultiplicativeCoset<Val>
Source§fn clone(&self) -> TwoAdicMultiplicativeCoset<Val>
fn clone(&self) -> TwoAdicMultiplicativeCoset<Val>
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 moreSource§impl<Val: Debug + TwoAdicField> Debug for TwoAdicMultiplicativeCoset<Val>
impl<Val: Debug + TwoAdicField> Debug for TwoAdicMultiplicativeCoset<Val>
Source§impl<Val: TwoAdicField> PolynomialSpace for TwoAdicMultiplicativeCoset<Val>
impl<Val: TwoAdicField> PolynomialSpace for TwoAdicMultiplicativeCoset<Val>
type Val = Val
fn size(&self) -> usize
fn first_point(&self) -> Self::Val
fn next_point<Ext: ExtensionField<Val>>(&self, x: Ext) -> Option<Ext>
fn create_disjoint_domain(&self, min_size: usize) -> Self
Source§fn split_domains(&self, num_chunks: usize) -> Vec<Self>
fn split_domains(&self, num_chunks: usize) -> Vec<Self>
Split this domain into
num_chunks
even chunks.
num_chunks
is assumed to be a power of two.fn split_evals( &self, num_chunks: usize, evals: RowMajorMatrix<Self::Val>, ) -> Vec<RowMajorMatrix<Self::Val>>
fn zp_at_point<Ext: ExtensionField<Val>>(&self, point: Ext) -> Ext
fn selectors_at_point<Ext: ExtensionField<Val>>( &self, point: Ext, ) -> LagrangeSelectors<Ext>
fn selectors_on_coset(&self, coset: Self) -> LagrangeSelectors<Vec<Val>>
impl<Val: Copy + TwoAdicField> Copy for TwoAdicMultiplicativeCoset<Val>
Auto Trait Implementations§
impl<Val> Freeze for TwoAdicMultiplicativeCoset<Val>where
Val: Freeze,
impl<Val> RefUnwindSafe for TwoAdicMultiplicativeCoset<Val>where
Val: RefUnwindSafe,
impl<Val> Send for TwoAdicMultiplicativeCoset<Val>
impl<Val> Sync for TwoAdicMultiplicativeCoset<Val>
impl<Val> Unpin for TwoAdicMultiplicativeCoset<Val>where
Val: Unpin,
impl<Val> UnwindSafe for TwoAdicMultiplicativeCoset<Val>where
Val: 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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