Skip to content

Commit

Permalink
Remove unused neg_polynomialcoeff function
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Dec 3, 2024
1 parent 85b4d00 commit 42588ce
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions specs/_features/eip7594/polynomial-commitments-sampling.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
- [Polynomials in coefficient form](#polynomials-in-coefficient-form)
- [`polynomial_eval_to_coeff`](#polynomial_eval_to_coeff)
- [`add_polynomialcoeff`](#add_polynomialcoeff)
- [`neg_polynomialcoeff`](#neg_polynomialcoeff)
- [`multiply_polynomialcoeff`](#multiply_polynomialcoeff)
- [`divide_polynomialcoeff`](#divide_polynomialcoeff)
- [`interpolate_polynomialcoeff`](#interpolate_polynomialcoeff)
Expand Down Expand Up @@ -252,16 +251,6 @@ def add_polynomialcoeff(a: PolynomialCoeff, b: PolynomialCoeff) -> PolynomialCoe
return PolynomialCoeff([a[i] + (b[i] if i < length_b else BLSFieldElement(0)) for i in range(length_a)])
```

#### `neg_polynomialcoeff`

```python
def neg_polynomialcoeff(a: PolynomialCoeff) -> PolynomialCoeff:
"""
Negative of coefficient form polynomial ``a``.
"""
return PolynomialCoeff([-x for x in a])
```

#### `multiply_polynomialcoeff`

```python
Expand Down

0 comments on commit 42588ce

Please sign in to comment.