Expand description
Provides polynomial primitive, typically used in secret sharing and threshold DKG
Structs§
- Polynomial
alloc
- Polynomial $f(x) = \sum_i a_i x^i$ defined as a list of coefficients $[a_0, \dots, a_{\text{degree}}]$
Functions§
- lagrange_
coefficient - Calculates lagrange coefficient $\lambda_j$ to interpolate a polynomial at point $x$
- lagrange_
coefficient_ at_ zero - Calculates lagrange coefficient $\lambda_j$ to interpolate a polynomial at point $0$