Struct ark_poly_commit::kzg10::Powers [−][src]
pub struct Powers<'a, E: PairingEngine> { pub powers_of_g: Cow<'a, [E::G1Affine]>, pub powers_of_gamma_g: Cow<'a, [E::G1Affine]>, }
Expand description
Powers is used to commit to and create evaluation proofs for a given
polynomial.
Fields
powers_of_g: Cow<'a, [E::G1Affine]>Group elements of the form β^i G, for different values of i.
powers_of_gamma_g: Cow<'a, [E::G1Affine]>Group elements of the form β^i γG, for different values of i.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe, impl<'a, E> Unpin for Powers<'a, E> where
<E as PairingEngine>::G1Affine: Unpin, impl<'a, E> UnwindSafe for Powers<'a, E> where
<E as PairingEngine>::G1Affine: RefUnwindSafe + UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V