[][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 Send for VecPoly1

impl Sync for VecPoly1

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

type Output = T

Should always be Self