Struct ark_ff::fields::models::Fp832 [−][src]
Implementations
impl<P> Fp832<P>
[src]
pub const fn new(element: BigInteger832) -> Self
[src]
Trait Implementations
impl<'a, P: Fp832Parameters> Add<&'a Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: &Self) -> Self
[src]
impl<'a, P: Fp832Parameters> Add<&'a mut Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: &'a mut Self) -> Self
[src]
impl<P: Fp832Parameters> Add<Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self
[src]
impl<'a, P: Fp832Parameters> AddAssign<&'a Fp832<P>> for Fp832<P>
[src]
fn add_assign(&mut self, other: &Self)
[src]
impl<'a, P: Fp832Parameters> AddAssign<&'a mut Fp832<P>> for Fp832<P>
[src]
fn add_assign(&mut self, other: &'a mut Self)
[src]
impl<P: Fp832Parameters> AddAssign<Fp832<P>> for Fp832<P>
[src]
fn add_assign(&mut self, other: Self)
[src]
impl<P: Fp832Parameters> CanonicalDeserialize for Fp832<P>
[src]
fn deserialize<R: Read>(reader: R) -> Result<Self, SerializationError>
[src]
pub fn deserialize_uncompressed<R>(
reader: R
) -> Result<Self, SerializationError> where
R: Read,
[src]
reader: R
) -> Result<Self, SerializationError> where
R: Read,
pub fn deserialize_unchecked<R>(reader: R) -> Result<Self, SerializationError> where
R: Read,
[src]
R: Read,
impl<P: Fp832Parameters> CanonicalDeserializeWithFlags for Fp832<P>
[src]
fn deserialize_with_flags<R: Read, F: Flags>(
reader: R
) -> Result<(Self, F), SerializationError>
[src]
reader: R
) -> Result<(Self, F), SerializationError>
impl<P: Fp832Parameters> CanonicalSerialize for Fp832<P>
[src]
fn serialize<W: Write>(&self, writer: W) -> Result<(), SerializationError>
[src]
fn serialized_size(&self) -> usize
[src]
pub fn serialize_uncompressed<W>(
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
pub fn serialize_unchecked<W>(
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: W
) -> Result<(), SerializationError> where
W: Write,
pub fn uncompressed_size(&self) -> usize
[src]
impl<P: Fp832Parameters> CanonicalSerializeWithFlags for Fp832<P>
[src]
fn serialize_with_flags<W: Write, F: Flags>(
&self,
writer: W,
flags: F
) -> Result<(), SerializationError>
[src]
&self,
writer: W,
flags: F
) -> Result<(), SerializationError>
fn serialized_size_with_flags<F: Flags>(&self) -> usize
[src]
impl<P> Clone for Fp832<P>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P> Copy for Fp832<P>
[src]
impl<P> Debug for Fp832<P>
[src]
impl<P> Default for Fp832<P>
[src]
impl<P: Fp832Parameters> Display for Fp832<P>
[src]
impl<'a, P: Fp832Parameters> Div<&'a Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: &Self) -> Self
[src]
impl<'a, P: Fp832Parameters> Div<&'a mut Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: &'a mut Self) -> Self
[src]
impl<P: Fp832Parameters> Div<Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self
[src]
impl<'a, P: Fp832Parameters> DivAssign<&'a Fp832<P>> for Fp832<P>
[src]
fn div_assign(&mut self, other: &Self)
[src]
impl<'a, P: Fp832Parameters> DivAssign<&'a mut Fp832<P>> for Fp832<P>
[src]
fn div_assign(&mut self, other: &'a mut Self)
[src]
impl<P: Fp832Parameters> DivAssign<Fp832<P>> for Fp832<P>
[src]
fn div_assign(&mut self, other: Self)
[src]
impl<P> Eq for Fp832<P>
[src]
impl<P: Fp832Parameters> FftField for Fp832<P>
[src]
type FftParams = P
fn two_adic_root_of_unity() -> Self
[src]
fn large_subgroup_root_of_unity() -> Option<Self>
[src]
fn multiplicative_generator() -> Self
[src]
fn get_root_of_unity(n: usize) -> Option<Self>
[src]
impl<P: Fp832Parameters> Field for Fp832<P>
[src]
type BasePrimeField = Self
fn extension_degree() -> u64
[src]
fn from_base_prime_field_elems(elems: &[Self::BasePrimeField]) -> Option<Self>
[src]
fn double(&self) -> Self
[src]
fn double_in_place(&mut self) -> &mut Self
[src]
fn characteristic<'a>() -> &'a [u64]
[src]
fn from_random_bytes_with_flags<F: Flags>(bytes: &[u8]) -> Option<(Self, F)>
[src]
fn square(&self) -> Self
[src]
fn square_in_place(&mut self) -> &mut Self
[src]
fn inverse(&self) -> Option<Self>
[src]
fn inverse_in_place(&mut self) -> Option<&mut Self>
[src]
fn frobenius_map(&mut self, _: usize)
[src]
fn from_random_bytes(bytes: &[u8]) -> Option<Self>
[src]
#[must_use]fn pow<S: AsRef<[u64]>>(&self, exp: S) -> Self
[src]
fn pow_with_table<S: AsRef<[u64]>>(powers_of_2: &[Self], exp: S) -> Option<Self>
[src]
impl<P: Fp832Parameters> From<BigInteger832> for Fp832<P>
[src]
fn from(int: BigInteger832) -> Self
[src]
impl<P: Fp832Parameters> From<bool> for Fp832<P>
[src]
impl<P: Fp832Parameters> From<u128> for Fp832<P>
[src]
impl<P: Fp832Parameters> From<u16> for Fp832<P>
[src]
impl<P: Fp832Parameters> From<u32> for Fp832<P>
[src]
impl<P: Fp832Parameters> From<u64> for Fp832<P>
[src]
impl<P: Fp832Parameters> From<u8> for Fp832<P>
[src]
impl<P: Fp832Parameters> FromBytes for Fp832<P>
[src]
impl<P: Fp832Parameters> FromStr for Fp832<P>
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Interpret a string of numbers as a (congruent) prime field element. Does not accept unnecessary leading zeroes or a blank string.
impl<P> Hash for Fp832<P>
[src]
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<P: Fp832Parameters> Into<BigInteger832> for Fp832<P>
[src]
fn into(self) -> BigInteger832
[src]
impl<'a, P: Fp832Parameters> Mul<&'a Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: &Self) -> Self
[src]
impl<'a, P: Fp832Parameters> Mul<&'a mut Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: &'a mut Self) -> Self
[src]
impl<P: Fp832Parameters> Mul<Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Self) -> Self
[src]
impl<'a, P: Fp832Parameters> MulAssign<&'a Fp832<P>> for Fp832<P>
[src]
fn mul_assign(&mut self, other: &Self)
[src]
impl<'a, P: Fp832Parameters> MulAssign<&'a mut Fp832<P>> for Fp832<P>
[src]
fn mul_assign(&mut self, other: &'a mut Self)
[src]
impl<P: Fp832Parameters> MulAssign<Fp832<P>> for Fp832<P>
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl<P: Fp832Parameters> Neg for Fp832<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
#[must_use]fn neg(self) -> Self
[src]
impl<P: Fp832Parameters> One for Fp832<P>
[src]
impl<P: Fp832Parameters> Ord for Fp832<P>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<P> PartialEq<Fp832<P>> for Fp832<P>
[src]
impl<P: Fp832Parameters> PartialOrd<Fp832<P>> for Fp832<P>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<P: Fp832Parameters> PrimeField for Fp832<P>
[src]
type Params = P
type BigInt = BigInteger832
fn from_repr(r: BigInteger832) -> Option<Self>
[src]
fn into_repr(&self) -> BigInteger832
[src]
fn from_be_bytes_mod_order(bytes: &[u8]) -> Self
[src]
fn from_le_bytes_mod_order(bytes: &[u8]) -> Self
[src]
fn qnr_to_t() -> Self
[src]
fn size_in_bits() -> usize
[src]
fn trace() -> Self::BigInt
[src]
fn trace_minus_one_div_two() -> Self::BigInt
[src]
fn modulus_minus_one_div_two() -> Self::BigInt
[src]
impl<'a, P: Fp832Parameters> Product<&'a Fp832<P>> for Fp832<P>
[src]
impl<P: Fp832Parameters> Product<Fp832<P>> for Fp832<P>
[src]
impl<P: Fp832Parameters> SquareRootField for Fp832<P>
[src]
fn legendre(&self) -> LegendreSymbol
[src]
fn sqrt(&self) -> Option<Self>
[src]
fn sqrt_in_place(&mut self) -> Option<&mut Self>
[src]
impl<'a, P: Fp832Parameters> Sub<&'a Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: &Self) -> Self
[src]
impl<'a, P: Fp832Parameters> Sub<&'a mut Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: &'a mut Self) -> Self
[src]
impl<P: Fp832Parameters> Sub<Fp832<P>> for Fp832<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: Self) -> Self
[src]
impl<'a, P: Fp832Parameters> SubAssign<&'a Fp832<P>> for Fp832<P>
[src]
fn sub_assign(&mut self, other: &Self)
[src]
impl<'a, P: Fp832Parameters> SubAssign<&'a mut Fp832<P>> for Fp832<P>
[src]
fn sub_assign(&mut self, other: &'a mut Self)
[src]
impl<P: Fp832Parameters> SubAssign<Fp832<P>> for Fp832<P>
[src]
fn sub_assign(&mut self, other: Self)
[src]
impl<'a, P: Fp832Parameters> Sum<&'a Fp832<P>> for Fp832<P>
[src]
impl<P: Fp832Parameters> Sum<Fp832<P>> for Fp832<P>
[src]
impl<P: Fp832Parameters> ToBytes for Fp832<P>
[src]
impl<P: Fp832Parameters> Zero for Fp832<P>
[src]
impl<P: Fp832Parameters> Zeroize for Fp832<P>
[src]
Auto Trait Implementations
impl<P> Send for Fp832<P> where
P: Send,
P: Send,
impl<P> Sync for Fp832<P> where
P: Sync,
P: Sync,
impl<P> Unpin for Fp832<P> where
P: Unpin,
P: Unpin,
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<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>,