[][src]Struct zkp_stark::DensePolynomial

pub struct DensePolynomial(_);

Methods

impl DensePolynomial[src]

pub fn from_mmap_vec(coefficients: MmapVec<FieldElement>) -> Self[src]

pub fn new(coefficients: &[FieldElement]) -> Self[src]

pub fn zeros(size: usize) -> Self[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn coefficients(&self) -> &[FieldElement][src]

pub fn degree(&self) -> usize[src]

pub fn evaluate(&self, x: &FieldElement) -> FieldElement[src]

pub fn low_degree_extension(&self, blowup: usize) -> MmapVec<FieldElement>[src]

pub fn divide_out_point_into(
    &self,
    z: &FieldElement,
    c: &FieldElement,
    target: &mut Self
)
[src]

Divide out a point and add the scaled result to target.

target += c * (P(X) - P(z)) / (X - z) See: https://en.wikipedia.org/wiki/Synthetic_division

Trait Implementations

impl Clone for DensePolynomial[src]

impl PartialEq<DensePolynomial> for DensePolynomial[src]

impl Debug for DensePolynomial[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,