Struct snarkvm_curves::templates::short_weierstrass::short_weierstrass_jacobian::GroupProjective [−][src]
Fields
x: P::BaseField
y: P::BaseField
z: P::BaseField
Implementations
impl<P: Parameters> GroupProjective<P>
[src]
Trait Implementations
impl<'a, P: Parameters> Add<&'a GroupProjective<P>> for GroupProjective<P>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: &'a Self) -> Self
[src]
impl<'a, P: Parameters> AddAssign<&'a GroupProjective<P>> for GroupProjective<P>
[src]
fn add_assign(&mut self, other: &'a Self)
[src]
impl<P: Parameters> CanonicalDeserialize for GroupProjective<P>
[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, SerializationError>
[src]
fn deserialize_uncompressed<R: Read>(
reader: &mut R
) -> Result<Self, SerializationError>
[src]
reader: &mut R
) -> Result<Self, SerializationError>
impl<P: Parameters> CanonicalSerialize for GroupProjective<P>
[src]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), SerializationError>
[src]
fn serialize_uncompressed<W: Write>(
&self,
writer: &mut W
) -> Result<(), SerializationError>
[src]
&self,
writer: &mut W
) -> Result<(), SerializationError>
fn serialized_size(&self) -> usize
[src]
fn uncompressed_size(&self) -> usize
[src]
impl<P: Parameters> Clone for GroupProjective<P> where
P: Parameters,
[src]
P: Parameters,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Parameters> ConstantSerializedSize for GroupProjective<P>
[src]
const SERIALIZED_SIZE: usize
[src]
const UNCOMPRESSED_SIZE: usize
[src]
impl<P: Parameters> Copy for GroupProjective<P> where
P: Parameters,
[src]
P: Parameters,
impl<P: Parameters> Debug for GroupProjective<P> where
P: Parameters,
[src]
P: Parameters,
impl<P: Parameters> Default for GroupProjective<P>
[src]
impl<P: Parameters> Display for GroupProjective<P>
[src]
impl<P: Parameters> Eq for GroupProjective<P> where
P: Parameters,
[src]
P: Parameters,
impl<P: Parameters> From<GroupAffine<P>> for GroupProjective<P>
[src]
fn from(p: GroupAffine<P>) -> GroupProjective<P>
[src]
impl<P: Parameters> From<GroupProjective<P>> for GroupAffine<P>
[src]
fn from(p: GroupProjective<P>) -> GroupAffine<P>
[src]
impl<P: Parameters> FromBytes for GroupProjective<P>
[src]
impl<P: Parameters> Hash for GroupProjective<P> where
P: Parameters,
[src]
P: Parameters,
fn hash<__HP>(&self, __state: &mut __HP) where
__HP: Hasher,
[src]
__HP: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a, P: Parameters> Mul<&'a <P as ModelParameters>::ScalarField> for GroupProjective<P>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: &'a P::ScalarField) -> Self
[src]
impl<'a, P: Parameters> MulAssign<&'a <P as ModelParameters>::ScalarField> for GroupProjective<P>
[src]
fn mul_assign(&mut self, other: &'a P::ScalarField)
[src]
impl<P: Parameters> Neg for GroupProjective<P>
[src]
impl<P: Parameters> PartialEq<GroupProjective<P>> for GroupProjective<P>
[src]
impl<P: Parameters> ProjectiveCurve for GroupProjective<P>
[src]
type Affine = GroupAffine<P>
type BaseField = P::BaseField
type ScalarField = P::ScalarField
fn prime_subgroup_generator() -> Self
[src]
fn is_normalized(&self) -> bool
[src]
fn batch_normalization(v: &mut [Self])
[src]
fn double_in_place(&mut self) -> &mut Self
[src]
fn add_assign_mixed(&mut self, other: &Self::Affine)
[src]
fn mul_assign<S: Into<<Self::ScalarField as PrimeField>::BigInteger>>(
&mut self,
other: S
)
[src]
&mut self,
other: S
)
fn into_affine(&self) -> GroupAffine<P>
[src]
fn recommended_wnaf_for_scalar(
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
[src]
scalar: <Self::ScalarField as PrimeField>::BigInteger
) -> usize
fn recommended_wnaf_for_num_scalars(num_scalars: usize) -> usize
[src]
fn batch_normalization_into_affine(v: Vec<Self>) -> Vec<Self::Affine>
[src]
#[must_use]fn double(&self) -> Self
[src]
impl<'a, P: Parameters> Sub<&'a GroupProjective<P>> for GroupProjective<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: &'a Self) -> Self
[src]
impl<'a, P: Parameters> SubAssign<&'a GroupProjective<P>> for GroupProjective<P>
[src]
fn sub_assign(&mut self, other: &'a Self)
[src]
impl<P: Parameters> ToBytes for GroupProjective<P>
[src]
impl<M: SWModelParameters, F: Field> ToConstraintField<F> for SWProjective<M> where
M::BaseField: ToConstraintField<F>,
[src]
M::BaseField: ToConstraintField<F>,
fn to_field_elements(&self) -> Result<Vec<F>, ConstraintFieldError>
[src]
impl<P: Parameters> Zero for GroupProjective<P>
[src]
Auto Trait Implementations
impl<P> RefUnwindSafe for GroupProjective<P> where
P: RefUnwindSafe,
<P as ModelParameters>::BaseField: RefUnwindSafe,
P: RefUnwindSafe,
<P as ModelParameters>::BaseField: RefUnwindSafe,
impl<P> Send for GroupProjective<P>
impl<P> Sync for GroupProjective<P>
impl<P> Unpin for GroupProjective<P> where
P: Unpin,
<P as ModelParameters>::BaseField: Unpin,
P: Unpin,
<P as ModelParameters>::BaseField: Unpin,
impl<P> UnwindSafe for GroupProjective<P> where
P: UnwindSafe,
<P as ModelParameters>::BaseField: UnwindSafe,
P: UnwindSafe,
<P as ModelParameters>::BaseField: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<C> Group for C where
C: ProjectiveCurve,
[src]
C: ProjectiveCurve,
type ScalarField = <C as ProjectiveCurve>::ScalarField
#[must_use]pub fn double(&Self) -> C
[src]
pub fn double_in_place(&mut Self) -> &mut C
[src]
#[must_use]fn mul(&self, other: &Self::ScalarField) -> Self
[src]
fn mul_assign(&mut self, other: &Self::ScalarField)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UniformRand for T where
Standard: Distribution<T>,
[src]
Standard: Distribution<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,