[−][src]Struct snarkos_models::curves::fp6_2over3::Fp6
Fields
c0: Fp3<P::Fp3Params>
c1: Fp3<P::Fp3Params>
Implementations
impl<P: Fp6Parameters> Fp6<P>
[src]
pub fn new(c0: Fp3<P::Fp3Params>, c1: Fp3<P::Fp3Params>) -> Self
[src]
pub fn conjugate(&mut self)
[src]
pub fn mul_by_034(
&mut self,
c0: &<P::Fp3Params as Fp3Parameters>::Fp,
c3: &<P::Fp3Params as Fp3Parameters>::Fp,
c4: &<P::Fp3Params as Fp3Parameters>::Fp
)
[src]
&mut self,
c0: &<P::Fp3Params as Fp3Parameters>::Fp,
c3: &<P::Fp3Params as Fp3Parameters>::Fp,
c4: &<P::Fp3Params as Fp3Parameters>::Fp
)
pub fn mul_by_014(
&mut self,
c0: &<P::Fp3Params as Fp3Parameters>::Fp,
c1: &<P::Fp3Params as Fp3Parameters>::Fp,
c4: &<P::Fp3Params as Fp3Parameters>::Fp
)
[src]
&mut self,
c0: &<P::Fp3Params as Fp3Parameters>::Fp,
c1: &<P::Fp3Params as Fp3Parameters>::Fp,
c4: &<P::Fp3Params as Fp3Parameters>::Fp
)
pub fn mul_by_nonresidue(value: &Fp3<P::Fp3Params>) -> Fp3<P::Fp3Params>
[src]
Multiply by quadratic nonresidue v.
pub fn unitary_inverse(&self) -> Self
[src]
pub fn cyclotomic_exp<B: BigInteger>(&self, exponent: &B) -> Self
[src]
Trait Implementations
impl<'a, P: Fp6Parameters> Add<&'a Fp6<P>> for Fp6<P>
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: &Self) -> Self
[src]
impl<'a, P: Fp6Parameters> AddAssign<&'a Fp6<P>> for Fp6<P>
[src]
fn add_assign(&mut self, other: &Self)
[src]
impl<P: Fp6Parameters> CanonicalDeserialize for Fp6<P>
[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, SerializationError>
[src]
fn deserialize_uncompressed<R>(
reader: &mut R
) -> Result<Self, SerializationError> where
R: Read,
[src]
reader: &mut R
) -> Result<Self, SerializationError> where
R: Read,
impl<P: Fp6Parameters> CanonicalDeserializeWithFlags for Fp6<P>
[src]
fn deserialize_with_flags<R: Read, F: Flags>(
reader: &mut R
) -> Result<(Self, F), SerializationError>
[src]
reader: &mut R
) -> Result<(Self, F), SerializationError>
impl<P: Fp6Parameters> CanonicalSerialize for Fp6<P>
[src]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), SerializationError>
[src]
fn serialized_size(&self) -> usize
[src]
fn serialize_uncompressed<W>(
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
[src]
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write,
fn uncompressed_size(&self) -> usize
[src]
impl<P: Fp6Parameters> CanonicalSerializeWithFlags for Fp6<P>
[src]
fn serialize_with_flags<W: Write, F: Flags>(
&self,
writer: &mut W,
flags: F
) -> Result<(), SerializationError>
[src]
&self,
writer: &mut W,
flags: F
) -> Result<(), SerializationError>
impl<P: Fp6Parameters> Clone for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Fp6Parameters> ConstantSerializedSize for Fp6<P>
[src]
const SERIALIZED_SIZE: usize
[src]
const UNCOMPRESSED_SIZE: usize
[src]
impl<P: Fp6Parameters> Copy for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
impl<P: Fp6Parameters> Debug for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
impl<P: Fp6Parameters> Default for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
impl<'de, P: Fp6Parameters> Deserialize<'de> for Fp6<P>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<P: Fp6Parameters> Display for Fp6<P>
[src]
impl<P: Fp6Parameters> Distribution<Fp6<P>> for Standard
[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Fp6<P>
[src]
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl<'a, P: Fp6Parameters> Div<&'a Fp6<P>> for Fp6<P>
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, other: &Self) -> Self
[src]
impl<'a, P: Fp6Parameters> DivAssign<&'a Fp6<P>> for Fp6<P>
[src]
fn div_assign(&mut self, other: &Self)
[src]
impl<P: Fp6Parameters> Eq for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
impl<P: Fp6Parameters> Field for Fp6<P>
[src]
fn characteristic<'a>() -> &'a [u64]
[src]
fn double(&self) -> Self
[src]
fn double_in_place(&mut self) -> &mut Self
[src]
fn square(&self) -> Self
[src]
fn from_random_bytes_with_flags(bytes: &[u8]) -> Option<(Self, u8)>
[src]
fn from_random_bytes(bytes: &[u8]) -> Option<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, power: usize)
[src]
fn pow<S: AsRef<[u64]>>(&self, exp: S) -> Self
[src]
impl<'a, P: Fp6Parameters> From<&'a [bool]> for Fp6<P>
[src]
impl<P: Fp6Parameters> From<u128> for Fp6<P>
[src]
impl<P: Fp6Parameters> From<u16> for Fp6<P>
[src]
impl<P: Fp6Parameters> From<u32> for Fp6<P>
[src]
impl<P: Fp6Parameters> From<u64> for Fp6<P>
[src]
impl<P: Fp6Parameters> From<u8> for Fp6<P>
[src]
impl<P: Fp6Parameters> FromBytes for Fp6<P>
[src]
impl<P: Fp6Parameters> Hash for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
fn hash<__HP>(&self, __state: &mut __HP) where
__HP: Hasher,
[src]
__HP: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a, P: Fp6Parameters> Mul<&'a Fp6<P>> for Fp6<P>
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: &Self) -> Self
[src]
impl<'a, P: Fp6Parameters> MulAssign<&'a Fp6<P>> for Fp6<P>
[src]
fn mul_assign(&mut self, other: &Self)
[src]
impl<P: Fp6Parameters> Neg for Fp6<P>
[src]
impl<P: Fp6Parameters> One for Fp6<P>
[src]
impl<P: Fp6Parameters> Ord for Fp6<P>
[src]
Fp6
elements are ordered lexicographically.
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<P: Fp6Parameters> PartialEq<Fp6<P>> for Fp6<P> where
P: Fp6Parameters,
[src]
P: Fp6Parameters,
impl<P: Fp6Parameters> PartialOrd<Fp6<P>> for Fp6<P>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<P: Fp6Parameters> Serialize for Fp6<P>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a, P: Fp6Parameters> Sub<&'a Fp6<P>> for Fp6<P>
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: &Self) -> Self
[src]
impl<'a, P: Fp6Parameters> SubAssign<&'a Fp6<P>> for Fp6<P>
[src]
fn sub_assign(&mut self, other: &Self)
[src]
impl<P: Fp6Parameters> ToBytes for Fp6<P>
[src]
impl<P: Fp6Parameters> Zero for Fp6<P>
[src]
Auto Trait Implementations
impl<P> RefUnwindSafe for Fp6<P> where
P: RefUnwindSafe,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: RefUnwindSafe,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + RefUnwindSafe,
P: RefUnwindSafe,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: RefUnwindSafe,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + RefUnwindSafe,
impl<P> Send for Fp6<P> where
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Send,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Send,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Send,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Send,
impl<P> Sync for Fp6<P> where
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Sync,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Sync,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Sync,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Sync,
impl<P> Unpin for Fp6<P> where
P: Unpin,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Unpin,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Unpin,
P: Unpin,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: Unpin,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + Unpin,
impl<P> UnwindSafe for Fp6<P> where
P: UnwindSafe,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: UnwindSafe,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + UnwindSafe,
P: UnwindSafe,
<<P as Fp6Parameters>::Fp3Params as Fp3Parameters>::Fp: UnwindSafe,
<P as Fp6Parameters>::Fp3Params: Fp3Parameters + 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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
fn to_owned(&self) -> T
[src]
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.
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.
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>,