pub struct EvaluationVector { /* private fields */ }Expand description
The result of evaluating a vector of polynomials over all points in an interpolation domain.
This struct also remembers which rows have ever been filled with Self::fill_row. This is used in Self::recover, which can use the rows that are present to fill in the missing rows.
Implementations§
Source§impl EvaluationVector
impl EvaluationVector
Sourcepub fn empty(lg_rows: usize, cols: usize) -> Self
pub fn empty(lg_rows: usize, cols: usize) -> Self
Create an empty element of this struct, with no filled rows.
Sourcepub fn recover(self) -> PolynomialVector
pub fn recover(self) -> PolynomialVector
Attempt to recover the missing rows in this data.
Sourcepub fn filled_rows(&self) -> usize
pub fn filled_rows(&self) -> usize
Return how many distinct rows have been filled.
Trait Implementations§
Source§impl Debug for EvaluationVector
impl Debug for EvaluationVector
Source§impl PartialEq for EvaluationVector
impl PartialEq for EvaluationVector
impl StructuralPartialEq for EvaluationVector
Auto Trait Implementations§
impl Freeze for EvaluationVector
impl RefUnwindSafe for EvaluationVector
impl Send for EvaluationVector
impl Sync for EvaluationVector
impl Unpin for EvaluationVector
impl UnwindSafe for EvaluationVector
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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