Struct bellperson::LinearCombination [−][src]
pub struct LinearCombination<E: ScalarEngine>(_);
Expand description
This represents a linear combination of some variables, with coefficients in the scalar field of a pairing-friendly elliptic curve group.
Implementations
Trait Implementations
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
impl<'a, E: ScalarEngine> Add<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>
impl<'a, E: ScalarEngine> Add<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the +
operator.
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
impl<'a, E: ScalarEngine> Sub<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>
impl<'a, E: ScalarEngine> Sub<(<E as ScalarEngine>::Fr, &'a LinearCombination<E>)> for LinearCombination<E>
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the -
operator.
type Output = LinearCombination<E>
type Output = LinearCombination<E>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Auto Trait Implementations
impl<E> RefUnwindSafe for LinearCombination<E> where
<E as ScalarEngine>::Fr: RefUnwindSafe,
impl<E> Send for LinearCombination<E>
impl<E> Sync for LinearCombination<E>
impl<E> Unpin for LinearCombination<E> where
<E as ScalarEngine>::Fr: Unpin,
impl<E> UnwindSafe for LinearCombination<E> where
<E as ScalarEngine>::Fr: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V