Struct snarkvm_wasm::evaluations::Evaluations [−][src]
Stores a polynomial in evaluation form.
Fields
evaluations: Vec<F, Global>
The evaluations of a polynomial over the domain D
Implementations
impl<F> Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn from_vec_and_domain(
evaluations: Vec<F, Global>,
domain: EvaluationDomain<F>
) -> Evaluations<F>
[src]
evaluations: Vec<F, Global>,
domain: EvaluationDomain<F>
) -> Evaluations<F>
Construct Self
from evaluations and a domain.
pub fn interpolate_by_ref(&self) -> DensePolynomial<F>
[src]
Interpolate a polynomial from a list of evaluations
pub fn interpolate(self) -> DensePolynomial<F>
[src]
Interpolate a polynomial from a list of evaluations
Trait Implementations
impl<'a, 'b, F> Add<&'a Evaluations<F>> for &'b Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
type Output = Evaluations<F>
The resulting type after applying the +
operator.
pub fn add(self, other: &'a Evaluations<F>) -> Evaluations<F>
[src]
impl<'a, F> AddAssign<&'a Evaluations<F>> for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn add_assign(&mut self, other: &'a Evaluations<F>)
[src]
impl<F> CanonicalDeserialize for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn deserialize<R>(
reader: &mut R
) -> Result<Evaluations<F>, SerializationError> where
R: Read,
[src]
reader: &mut R
) -> Result<Evaluations<F>, SerializationError> where
R: Read,
pub fn deserialize_uncompressed<R>(
reader: &mut R
) -> Result<Evaluations<F>, SerializationError> where
R: Read,
[src]
reader: &mut R
) -> Result<Evaluations<F>, SerializationError> where
R: Read,
impl<F> CanonicalSerialize for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn serialize<W>(&self, writer: &mut W) -> Result<(), SerializationError> where
W: Write,
[src]
W: Write,
pub fn serialized_size(&self) -> usize
[src]
pub fn serialize_uncompressed<W>(
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
pub fn uncompressed_size(&self) -> usize
[src]
impl<F> Clone for Evaluations<F> where
F: Clone + PrimeField,
[src]
F: Clone + PrimeField,
pub fn clone(&self) -> Evaluations<F>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F> Debug for Evaluations<F> where
F: Debug + PrimeField,
[src]
F: Debug + PrimeField,
impl<'a, 'b, F> Div<&'a Evaluations<F>> for &'b Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
type Output = Evaluations<F>
The resulting type after applying the /
operator.
pub fn div(self, other: &'a Evaluations<F>) -> Evaluations<F>
[src]
impl<'a, F> DivAssign<&'a Evaluations<F>> for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn div_assign(&mut self, other: &'a Evaluations<F>)
[src]
impl<F> Eq for Evaluations<F> where
F: Eq + PrimeField,
[src]
F: Eq + PrimeField,
impl<F> Hash for Evaluations<F> where
F: Hash + PrimeField,
[src]
F: Hash + PrimeField,
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<F> Index<usize> for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
impl<'a, 'b, F> Mul<&'a Evaluations<F>> for &'b Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
type Output = Evaluations<F>
The resulting type after applying the *
operator.
pub fn mul(self, other: &'a Evaluations<F>) -> Evaluations<F>
[src]
impl<'a, F> MulAssign<&'a Evaluations<F>> for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn mul_assign(&mut self, other: &'a Evaluations<F>)
[src]
impl<F> PartialEq<Evaluations<F>> for Evaluations<F> where
F: PartialEq<F> + PrimeField,
[src]
F: PartialEq<F> + PrimeField,
pub fn eq(&self, other: &Evaluations<F>) -> bool
[src]
pub fn ne(&self, other: &Evaluations<F>) -> bool
[src]
impl<F> StructuralEq for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
impl<F> StructuralPartialEq for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
impl<'a, 'b, F> Sub<&'a Evaluations<F>> for &'b Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
type Output = Evaluations<F>
The resulting type after applying the -
operator.
pub fn sub(self, other: &'a Evaluations<F>) -> Evaluations<F>
[src]
impl<'a, F> SubAssign<&'a Evaluations<F>> for Evaluations<F> where
F: PrimeField,
[src]
F: PrimeField,
pub fn sub_assign(&mut self, other: &'a Evaluations<F>)
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for Evaluations<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Evaluations<F>
impl<F> Sync for Evaluations<F>
impl<F> Unpin for Evaluations<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Evaluations<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,