pub struct CircleDomain<F> { /* private fields */ }
Expand description
A twin-coset of the circle group on F. It has a power-of-two size and an arbitrary shift.
X is generator, O is the first coset, goes counterclockwise
O X .
. .
. O <- start = shift
. . - (1,0)
O .
. .
. . O
For ordering reasons, the other half will start at gen / shift:
. X O <- start = gen/shift
. .
O .
. . - (1,0)
. O
. .
O . .
The full domain is the interleaving of these two cosets
Implementations§
Source§impl<F: ComplexExtendable> CircleDomain<F>
impl<F: ComplexExtendable> CircleDomain<F>
Trait Implementations§
Source§impl<F: Clone> Clone for CircleDomain<F>
impl<F: Clone> Clone for CircleDomain<F>
Source§fn clone(&self) -> CircleDomain<F>
fn clone(&self) -> CircleDomain<F>
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<F: Debug> Debug for CircleDomain<F>
impl<F: Debug> Debug for CircleDomain<F>
Source§impl<F: PartialEq> PartialEq for CircleDomain<F>
impl<F: PartialEq> PartialEq for CircleDomain<F>
Source§impl<F: ComplexExtendable> PolynomialSpace for CircleDomain<F>
impl<F: ComplexExtendable> PolynomialSpace for CircleDomain<F>
Source§fn split_domains(&self, num_chunks: usize) -> Vec<Self>
fn split_domains(&self, num_chunks: usize) -> Vec<Self>
Decompose a domain into disjoint twin-cosets.
Source§fn first_point(&self) -> Self::Val
fn first_point(&self) -> Self::Val
The first point in the space.
Source§fn next_point<Ext: ExtensionField<Self::Val>>(&self, x: Ext) -> Option<Ext>
fn next_point<Ext: ExtensionField<Self::Val>>(&self, x: Ext) -> Option<Ext>
An algebraic function which takes the i’th element of the space and returns
the (i+1)’th evaluated on the given point. Read more
Source§fn create_disjoint_domain(&self, min_size: usize) -> Self
fn create_disjoint_domain(&self, min_size: usize) -> Self
Source§fn split_evals(
&self,
num_chunks: usize,
evals: RowMajorMatrix<Self::Val>,
) -> Vec<RowMajorMatrix<Self::Val>>
fn split_evals( &self, num_chunks: usize, evals: RowMajorMatrix<Self::Val>, ) -> Vec<RowMajorMatrix<Self::Val>>
Split a set of polynomial evaluations over this
PolynomialSpace
into a vector
of polynomial evaluations over each PolynomialSpace
generated from split_domains
. Read moreSource§fn vanishing_poly_at_point<Ext: ExtensionField<Self::Val>>(
&self,
point: Ext,
) -> Ext
fn vanishing_poly_at_point<Ext: ExtensionField<Self::Val>>( &self, point: Ext, ) -> Ext
Compute the vanishing polynomial of the space, evaluated at the given point. Read more
Source§fn selectors_at_point<Ext: ExtensionField<Self::Val>>(
&self,
point: Ext,
) -> LagrangeSelectors<Ext>
fn selectors_at_point<Ext: ExtensionField<Self::Val>>( &self, point: Ext, ) -> LagrangeSelectors<Ext>
Compute several Lagrange selectors at a given point. Read more
Source§fn selectors_on_coset(&self, coset: Self) -> LagrangeSelectors<Vec<Self::Val>>
fn selectors_on_coset(&self, coset: Self) -> LagrangeSelectors<Vec<Self::Val>>
Compute several Lagrange selectors at all points of the given disjoint
PolynomialSpace
. Read moreimpl<F: Copy> Copy for CircleDomain<F>
impl<F: Eq> Eq for CircleDomain<F>
impl<F> StructuralPartialEq for CircleDomain<F>
Auto Trait Implementations§
impl<F> Freeze for CircleDomain<F>where
F: Freeze,
impl<F> RefUnwindSafe for CircleDomain<F>where
F: RefUnwindSafe,
impl<F> Send for CircleDomain<F>where
F: Send,
impl<F> Sync for CircleDomain<F>where
F: Sync,
impl<F> Unpin for CircleDomain<F>where
F: Unpin,
impl<F> UnwindSafe for CircleDomain<F>where
F: 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> 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