Struct snarkvm_r1cs::LinearCombination [−][src]
Expand description
This represents a linear combination of some variables, with coefficients
in the field F
.
The (coeff, var)
pairs in a LinearCombination
are kept sorted according
to the index of the variable in its constraint system.
Implementations
Outputs an empty linear combination.
Replaces the contents of self
with those of other
.
Negate the coefficients of all variables in self
.
Double the coefficients of all variables in self
.
Trait Implementations
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the +
operator.
Performs the +
operation. Read more
Performs the conversion.
Performs the *=
operation. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = LinearCombination<F>
type Output = LinearCombination<F>
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Auto Trait Implementations
impl<F> RefUnwindSafe for LinearCombination<F> where
F: RefUnwindSafe,
impl<F> Send for LinearCombination<F>
impl<F> Sync for LinearCombination<F>
impl<F> Unpin for LinearCombination<F> where
F: Unpin,
impl<F> UnwindSafe for LinearCombination<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V