Struct blsttc::Fr [−][src]
pub struct Fr(_);
Trait Implementations
Computes a uniformly random element using rejection sampling.
Adds another element to this element.
Subtracts another element from this element.
Computes the multiplicative inverse of this element, if nonzero.
Exponentiates this element by a power of the base prime modulus via the Frobenius automorphism. Read more
Multiplies another element by this element.
Performs the *=
operation. Read more
Elements are ordered lexicographically.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
The prime field can be converted back and forth into this biginteger representation. Read more
Convert this prime field element into a biginteger representation.
Convert a biginteger representation into a prime field element, if the number is an element of the field. Read more
How many bits of information can be reliably stored in the field element.
Returns the multiplicative generator of char()
- 1 order. This element
must also be quadratic nonresidue. Read more
Returns the 2^s root of unity computed by exponentiating the multiplicative_generator()
by t. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more