[−][src]Struct zkp_stark::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]
&self,
z: &FieldElement,
c: &FieldElement,
target: &mut Self
)
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]
fn clone(&self) -> DensePolynomial[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<DensePolynomial> for DensePolynomial[src]
fn eq(&self, other: &DensePolynomial) -> bool[src]
fn ne(&self, other: &DensePolynomial) -> bool[src]
impl Debug for DensePolynomial[src]
Auto Trait Implementations
impl Send for DensePolynomial
impl Sync for DensePolynomial
impl Unpin for DensePolynomial
impl RefUnwindSafe for DensePolynomial
impl UnwindSafe for DensePolynomial
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,