MCPcopy Index your code
hub / github.com/arkworks-rs/poly-commit / push

Method push

poly-commit/src/data_structures.rs:326–329  ·  view source on GitHub ↗

Add a term to the linear combination.

(&mut self, term: (F, LCTerm))

Source from the content-addressed store, hash-verified

324
325 /// Add a term to the linear combination.
326 pub fn push(&mut self, term: (F, LCTerm)) -> &mut Self {
327 self.terms.push(term);
328 self
329 }
330}
331
332impl<'a, F: Field> AddAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> {

Callers 15

add_assignMethod · 0.80
sub_assignMethod · 0.80
test_spongeFunction · 0.80
batch_openMethod · 0.80
batch_checkMethod · 0.80
bad_degree_bound_testFunction · 0.80
test_templateFunction · 0.80
equation_test_templateFunction · 0.80
commit_foldingMethod · 0.80
open_foldingMethod · 0.80
init_stackFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_spongeFunction · 0.64
test_templateFunction · 0.64
test_spongeFunction · 0.64