pub struct PolynomialVector { /* private fields */ }Implementations§
Source§impl PolynomialVector
impl PolynomialVector
Sourcepub fn evaluate(self) -> EvaluationVector
pub fn evaluate(self) -> EvaluationVector
Evaluate each polynomial in this vector over all points in an interpolation domain.
Sourcepub fn coefficients_up_to(&self, n: usize) -> impl Iterator<Item = &[F]>
pub fn coefficients_up_to(&self, n: usize) -> impl Iterator<Item = &[F]>
Iterate over up to n rows of this vector.
For example, given polynomials:
a0 + a1 X + a2 X^2 + … b0 + b1 X + b2 X^2 + …
This will return:
a0 b0 a1 b1 …
up to n times.
Trait Implementations§
Source§impl Clone for PolynomialVector
impl Clone for PolynomialVector
Source§fn clone(&self) -> PolynomialVector
fn clone(&self) -> PolynomialVector
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolynomialVector
impl Debug for PolynomialVector
Source§impl PartialEq for PolynomialVector
impl PartialEq for PolynomialVector
impl StructuralPartialEq for PolynomialVector
Auto Trait Implementations§
impl Freeze for PolynomialVector
impl RefUnwindSafe for PolynomialVector
impl Send for PolynomialVector
impl Sync for PolynomialVector
impl Unpin for PolynomialVector
impl UnwindSafe for PolynomialVector
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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