pub fn default<CS>(mut cs: CS) -> Result<Self, SynthesisError>
  where
    CS: ConstraintSystem<Fp>,
  {
    let zero = alloc_zero(cs.namespace(|| "zero"))?;
    let one = alloc_one(cs.namespace(|| "one"))?;

    Ok(AllocatedPoint {
      x: zero.clone(),
      y: zero,
      is_infinity: one,
    })
  }
/// Allocates a default point on the curve.
Allocates a default point on the curve.
Allocates a default point on the curve .
pub fn default<CS>(mut cs: CS) -> Result<Self, SynthesisError>
  where
    CS: ConstraintSystem<Fp>,
  {
    let zero = alloc_zero(cs.namespace(|| "zero"))?;
    let one = alloc_one(cs.namespace(|| "one"))?;
    Ok(AllocatedPoint {
      x: zero.clone(),
      y: zero,
      is_infinity: one,
    })
  }
pub fn default < CS > ( mut cs : CS ) -> Result < Self , SynthesisError > where CS : ConstraintSystem < Fp > , { let zero = alloc_zero ( cs . namespace ( | | " " ) ) ? ; let one = alloc_one ( cs . namespace ( | | " " ) ) ? ; Ok ( AllocatedPoint { x : zero . clone ( ) , y : zero , is_infinity : one , } ) }
Allocates a default point on the curve.
Allocates a default point on the curve .
cs
CS
cs
CS