pub struct LagrangeSelectors<T> {
pub is_first_row: T,
pub is_last_row: T,
pub is_transition: T,
pub inv_vanishing: T,
}
Expand description
Given a PolynomialSpace
, S
, and a subset R
, a Lagrange selector P_R
is
a polynomial which is not equal to 0
for every element in R
but is equal
to 0
for every element of S
not in R
.
This struct contains evaluations of several Lagrange selectors for a fixed
PolynomialSpace
over some collection of points disjoint from that
PolynomialSpace
.
The Lagrange selector is normalized if it is equal to 1
for every element in R
.
The LagrangeSelectors given here are not normalized.
Fields§
§is_first_row: T
A Lagrange selector corresponding to the first point in the space.
is_last_row: T
A Lagrange selector corresponding to the last point in the space.
is_transition: T
A Lagrange selector corresponding the subset of all but the last point.
inv_vanishing: T
The inverse of the vanishing polynomial which is a Lagrange selector corresponding to the empty set
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LagrangeSelectors<T>where
T: Freeze,
impl<T> RefUnwindSafe for LagrangeSelectors<T>where
T: RefUnwindSafe,
impl<T> Send for LagrangeSelectors<T>where
T: Send,
impl<T> Sync for LagrangeSelectors<T>where
T: Sync,
impl<T> Unpin for LagrangeSelectors<T>where
T: Unpin,
impl<T> UnwindSafe for LagrangeSelectors<T>where
T: 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
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>
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>
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