Add a term to the linear combination.
(&mut self, term: (F, LCTerm))
| 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 | |
| 332 | impl<'a, F: Field> AddAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> { |
no outgoing calls