pub fn scalar_multiply<G: CurveProjective<Scalar = Fr>, F: Into<FrRepr>>(
    mut base: G,
    factor: F,
) -> G {
    base.mul_assign(factor);
    base
}
/// Multiply an element of a group by a scalar.
/// This can be applied to any group over Fr; in particular G1 and G2.
/// The factor can be &FrRepr or &Fr.  The difference is that FrRepr may be
/// larger than the modulus.
/// This is a pure wrapper around the impure function provided by the pairing
/// library.
Multiply an element of a group by a scalar.
This can be applied to any group over Fr; in particular G1 and G2.
The factor can be &FrRepr or &Fr.  The difference is that FrRepr may be
larger than the modulus.
This is a pure wrapper around the impure function provided by the pairing
library.
Multiply an element of a group by a scalar . This can be applied to any group over Fr ; in particular G1 and G2 . The factor can be &FrRepr or &Fr . The difference is that FrRepr may be larger than the modulus . This is a pure wrapper around the impure function provided by the pairing library .
pub fn scalar_multiply<G: CurveProjective<Scalar = Fr>, F: Into<FrRepr>>(
    mut base: G,
    factor: F,
) -> G {
    base.mul_assign(factor);
    base
}
pub fn scalar_multiply < G : CurveProjective < Scalar = Fr > , F : Into < FrRepr > > ( mut base : G , factor : F , ) -> G { base . mul_assign ( factor ) ; base }
Multiply an element of a group by a scalar.
Multiply an element of a group by a scalar .
base
G
factor
F
base
G
factor
F