Struct ark_poly::polynomial::univariate::SparsePolynomial [−][src]
pub struct SparsePolynomial<F: Field> { /* fields omitted */ }
Expand description
Stores a sparse polynomial in coefficient form.
Implementations
Constructs a new polynomial from a list of coefficients.
Constructs a new polynomial from a list of coefficients.
pub fn evaluate_over_domain_by_ref<D: EvaluationDomain<F>>(
&self,
domain: D
) -> Evaluations<F, D>
[src]
pub fn evaluate_over_domain_by_ref<D: EvaluationDomain<F>>(
&self,
domain: D
) -> Evaluations<F, D>
[src]Evaluate self
over domain
.
Evaluate self
over domain
.
Trait Implementations
type Output = DensePolynomial<F>
type Output = DensePolynomial<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = SparsePolynomial<F>
type Output = SparsePolynomial<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = SparsePolynomial<F>
type Output = SparsePolynomial<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Reads Self
from reader
.
Reads Self
from reader
without compression.
Reads self
from reader
without compression, and without performing
validity checks. Should be used only when the input is trusted. Read more
Serializes self
into writer
.
It is left up to a particular type for how it strikes the
serialization efficiency vs compression tradeoff.
For standard types (e.g. bool
, lengths, etc.) typically an uncompressed
form is used, whereas for algebraic types compressed forms are used. Read more
Serializes self
into writer
without compression.
Serializes self
into writer
without compression, and without
performing validity checks. Should be used only when there is no
danger of adversarial manipulation of the output. Read more
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Output = SparsePolynomial<F>
type Output = SparsePolynomial<F>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = SparsePolynomial<F>
type Output = SparsePolynomial<F>
The resulting type after applying the -
operator.
Performs the unary -
operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Output = DensePolynomial<F>
type Output = DensePolynomial<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
type Error = ()
type Error = ()
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl<F> Send for SparsePolynomial<F>
impl<F> Sync for SparsePolynomial<F>
impl<F> Unpin for SparsePolynomial<F> where
F: Unpin,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
fn hash_uncompressed<H>(&self) -> GenericArray<u8, <H as Digest>::OutputSize> where
H: Digest,
[src]type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V