[][src]Struct bulletproofs::util::VecPoly1

pub struct VecPoly1(pub Vec<Scalar>, pub Vec<Scalar>);

Represents a degree-1 vector polynomial \(\mathbf{a} + \mathbf{b} \cdot x\).

Methods

impl VecPoly1[src]

pub fn zero(n: usize) -> Self[src]

pub fn inner_product(&self, rhs: &VecPoly1) -> Poly2[src]

pub fn eval(&self, x: Scalar) -> Vec<Scalar>[src]

Trait Implementations

impl Drop for VecPoly1[src]

Auto Trait Implementations

impl RefUnwindSafe for VecPoly1

impl Send for VecPoly1

impl Sync for VecPoly1

impl Unpin for VecPoly1

impl UnwindSafe for VecPoly1

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = !

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.