Struct fullcodec_bls12_381::G1Projective [−][src]
pub struct G1Projective { /* fields omitted */ }
Expand description
This is an element of $\mathbb{G}_1$ represented in the projective coordinate space.
Implementations
Returns the identity of the group: the point at infinity.
Returns a fixed generator of the group. See notes::design
for how this generator is chosen.
Computes the doubling of this point.
Adds this point to another point.
Adds this point to another point in the affine model.
Multiplies by $(1 - z)$, where $z$ is the parameter of BLS12-381, which suffices to clear the cofactor and map elliptic curve points to elements of $\mathbb{G}_1$.
Converts a batch of G1Projective
elements into G1Affine
elements. This
function will panic if p.len() != q.len()
.
Returns true if this element is the identity (the point at infinity).
Returns true if this point is on the curve. This should always return true unless an “unchecked” API was used.
Trait Implementations
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the +
operator.
Performs the +
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the *
operator.
Performs the *
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the *
operator.
Performs the *
operation. Read more
Performs the *=
operation. Read more
Performs the *=
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the unary -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the unary -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
type Output = G1Projective
type Output = G1Projective
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for G1Projective
impl Send for G1Projective
impl Sync for G1Projective
impl Unpin for G1Projective
impl UnwindSafe for G1Projective
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> ConditionallyNegatable for T where
T: ConditionallySelectable,
&'a T: for<'a> Neg,
<&'a T as Neg>::Output == T,
impl<T> ConditionallyNegatable for T where
T: ConditionallySelectable,
&'a T: for<'a> Neg,
<&'a T as Neg>::Output == T,
Negate self
if choice == Choice(1)
; otherwise, leave it
unchanged. Read more