pub struct PointsValue<F: PrimeField>(pub Vec<F>);
Expand description
polynomial points-value form expression
Tuple Fields§
§0: Vec<F>
Implementations§
Source§impl<F: FftField> PointsValue<F>
impl<F: FftField> PointsValue<F>
pub fn new(coeffs: Vec<F>) -> Self
pub fn format_degree(self) -> Self
Trait Implementations§
Source§impl<F: Clone + PrimeField> Clone for PointsValue<F>
impl<F: Clone + PrimeField> Clone for PointsValue<F>
Source§fn clone(&self) -> PointsValue<F>
fn clone(&self) -> PointsValue<F>
Returns a copy 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 + PrimeField> Debug for PointsValue<F>
impl<F: Debug + PrimeField> Debug for PointsValue<F>
Source§impl<F: Default + PrimeField> Default for PointsValue<F>
impl<F: Default + PrimeField> Default for PointsValue<F>
Source§fn default() -> PointsValue<F>
fn default() -> PointsValue<F>
Returns the “default value” for a type. Read more
Source§impl<F: PrimeField> Index<usize> for PointsValue<F>
impl<F: PrimeField> Index<usize> for PointsValue<F>
Source§impl<'a, 'b, F: FftField> Mul<&'a PointsValue<F>> for &'b PointsValue<F>
impl<'a, 'b, F: FftField> Mul<&'a PointsValue<F>> for &'b PointsValue<F>
Source§type Output = PointsValue<F>
type Output = PointsValue<F>
The resulting type after applying the
*
operator.Source§impl<F: PartialEq + PrimeField> PartialEq for PointsValue<F>
impl<F: PartialEq + PrimeField> PartialEq for PointsValue<F>
Source§impl<'a, 'b, F: FftField> Sub<&'a PointsValue<F>> for &'b PointsValue<F>
impl<'a, 'b, F: FftField> Sub<&'a PointsValue<F>> for &'b PointsValue<F>
Source§type Output = PointsValue<F>
type Output = PointsValue<F>
The resulting type after applying the
-
operator.impl<F: Eq + PrimeField> Eq for PointsValue<F>
impl<F: PrimeField> StructuralPartialEq for PointsValue<F>
Auto Trait Implementations§
impl<F> Freeze for PointsValue<F>
impl<F> RefUnwindSafe for PointsValue<F>where
F: RefUnwindSafe,
impl<F> Send for PointsValue<F>where
F: Send,
impl<F> Sync for PointsValue<F>where
F: Sync,
impl<F> Unpin for PointsValue<F>where
F: Unpin,
impl<F> UnwindSafe for PointsValue<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> 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