Struct blsttc::poly::BivarPoly [−][src]
pub struct BivarPoly { /* fields omitted */ }
Expand description
A symmetric bivariate polynomial in the prime field.
This can be used for Verifiable Secret Sharing and Distributed Key Generation. See the module documentation for details.
Implementations
Creates a random polynomial.
Panics
Panics if the degree is too high for the coefficients to fit into a Vec
.
Creates a random polynomial.
Returns the polynomial’s degree; which is the same in both variables.
Returns the polynomial’s value at the point (x, y)
.
Returns the corresponding commitment. That information can be shared publicly.
Trait Implementations
A debug statement where the coeff
vector has been redacted.
Auto Trait Implementations
impl RefUnwindSafe for BivarPoly
impl UnwindSafe for BivarPoly
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V