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 .
. .
. . OFor 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§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<F: Copy> Copy for CircleDomain<F>
Source§impl<F: Debug> Debug for CircleDomain<F>
impl<F: Debug> Debug for CircleDomain<F>
impl<F: Eq> Eq for CircleDomain<F>
Source§impl<F: PartialEq> PartialEq for CircleDomain<F>
impl<F: PartialEq> PartialEq for CircleDomain<F>
Source§impl<F: ComplexExtendable> PeriodicEvaluator<F, CircleDomain<F>> for CirclePeriodicEvaluator
impl<F: ComplexExtendable> PeriodicEvaluator<F, CircleDomain<F>> for CirclePeriodicEvaluator
Source§fn eval_on_lde(
periodic_table: &[Vec<F>],
trace_domain: &CircleDomain<F>,
lde_domain: &CircleDomain<F>,
) -> PeriodicLdeTable<F>
fn eval_on_lde( periodic_table: &[Vec<F>], trace_domain: &CircleDomain<F>, lde_domain: &CircleDomain<F>, ) -> PeriodicLdeTable<F>
Evaluate all periodic columns on the LDE domain, returning a compact table. Read more
Source§fn eval_at_point<EF: ExtensionField<F>>(
periodic_table: &[Vec<F>],
trace_domain: &CircleDomain<F>,
point: EF,
) -> Vec<EF>
fn eval_at_point<EF: ExtensionField<F>>( periodic_table: &[Vec<F>], trace_domain: &CircleDomain<F>, point: EF, ) -> Vec<EF>
Evaluate all periodic columns at a single point (for verification). Read more
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 try_create_disjoint_domain(&self, min_size: usize) -> Option<Self>
fn try_create_disjoint_domain(&self, min_size: usize) -> Option<Self>
The non-panicking counterpart to
Self::create_disjoint_domain. Read moreSource§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 moreSource§fn evaluate_polynomial_at<Ext: ExtensionField<F>>(
&self,
evals: &[F],
point: Ext,
) -> Ext
fn evaluate_polynomial_at<Ext: ExtensionField<F>>( &self, evals: &[F], point: Ext, ) -> Ext
Evaluate the polynomial defined by
evals (evaluations over self) at point.Source§fn evaluate_periodic_column_at<Ext: ExtensionField<F>>(
&self,
col: &[F],
point: Ext,
) -> Ext
fn evaluate_periodic_column_at<Ext: ExtensionField<F>>( &self, col: &[F], point: Ext, ) -> Ext
Evaluate a periodic column polynomial at
point. Read moreSource§fn create_disjoint_domain(&self, min_size: usize) -> Self
fn create_disjoint_domain(&self, min_size: usize) -> Self
Source§fn evaluate_periodic_columns_at<Ext>(
&self,
periodic_columns: &[Vec<Self::Val>],
point: Ext,
) -> Vec<Ext>where
Ext: ExtensionField<Self::Val>,
fn evaluate_periodic_columns_at<Ext>(
&self,
periodic_columns: &[Vec<Self::Val>],
point: Ext,
) -> Vec<Ext>where
Ext: ExtensionField<Self::Val>,
Evaluate several periodic column polynomials at
point. Read moreimpl<F: PartialEq> StructuralPartialEq for CircleDomain<F>
Auto Trait Implementations§
impl<F> Freeze for CircleDomain<F>
impl<F> RefUnwindSafe for CircleDomain<F>where
Point<F>: RefUnwindSafe,
impl<F> Send for CircleDomain<F>
impl<F> Sync for CircleDomain<F>
impl<F> Unpin for CircleDomain<F>
impl<F> UnsafeUnpin for CircleDomain<F>where
Point<F>: UnsafeUnpin,
impl<F> UnwindSafe for CircleDomain<F>where
Point<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