Struct ark_ff::fields::models::cubic_extension::CubicExtField[][src]

pub struct CubicExtField<P: CubicExtParameters> {
    pub c0: P::BaseField,
    pub c1: P::BaseField,
    pub c2: P::BaseField,
    // some fields omitted
}

Fields

c0: P::BaseFieldc1: P::BaseFieldc2: P::BaseField

Implementations

impl<P: Fp3Parameters> CubicExtField<Fp3ParamsWrapper<P>>[src]

pub fn mul_assign_by_fp(&mut self, value: &P::Fp)[src]

pub fn qnr_to_t() -> Self[src]

Returns the value of QNR^T.

impl<P: Fp6Parameters> CubicExtField<Fp6ParamsWrapper<P>>[src]

pub fn mul_assign_by_fp2(&mut self, other: Fp2<P::Fp2Params>)[src]

pub fn mul_by_fp(&mut self, element: &<P::Fp2Params as Fp2Parameters>::Fp)[src]

pub fn mul_by_fp2(&mut self, element: &Fp2<P::Fp2Params>)[src]

pub fn mul_by_1(&mut self, c1: &Fp2<P::Fp2Params>)[src]

pub fn mul_by_01(&mut self, c0: &Fp2<P::Fp2Params>, c1: &Fp2<P::Fp2Params>)[src]

impl<P: CubicExtParameters> CubicExtField<P>[src]

pub fn new(c0: P::BaseField, c1: P::BaseField, c2: P::BaseField) -> Self[src]

pub fn mul_assign_by_base_field(&mut self, value: &P::BaseField)[src]

pub fn norm(&self) -> P::BaseField[src]

Calculate the norm of an element with respect to the base field P::BaseField.

Trait Implementations

impl<'a, P: CubicExtParameters> Add<&'a CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: CubicExtParameters> Add<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<P: CubicExtParameters> Add<CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the + operator.

impl<'a, P: CubicExtParameters> AddAssign<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> AddAssign<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> AddAssign<CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> CanonicalDeserialize for CubicExtField<P>[src]

impl<P: CubicExtParameters> CanonicalDeserializeWithFlags for CubicExtField<P>[src]

impl<P: CubicExtParameters> CanonicalSerialize for CubicExtField<P>[src]

impl<P: CubicExtParameters> CanonicalSerializeWithFlags for CubicExtField<P>[src]

impl<P: CubicExtParameters> Clone for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> Copy for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> Debug for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> Default for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> Display for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> Div<&'a CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: CubicExtParameters> Div<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<P: CubicExtParameters> Div<CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the / operator.

impl<'a, P: CubicExtParameters> DivAssign<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> DivAssign<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> DivAssign<CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> Eq for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> Field for CubicExtField<P>[src]

type BasePrimeField = P::BasePrimeField

impl<P: CubicExtParameters> From<bool> for CubicExtField<P>[src]

impl<P: CubicExtParameters> From<u128> for CubicExtField<P>[src]

impl<P: CubicExtParameters> From<u16> for CubicExtField<P>[src]

impl<P: CubicExtParameters> From<u32> for CubicExtField<P>[src]

impl<P: CubicExtParameters> From<u64> for CubicExtField<P>[src]

impl<P: CubicExtParameters> From<u8> for CubicExtField<P>[src]

impl<P: CubicExtParameters> FromBytes for CubicExtField<P>[src]

impl<P: CubicExtParameters> Hash for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<'a, P: CubicExtParameters> Mul<&'a CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: CubicExtParameters> Mul<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<P: CubicExtParameters> Mul<CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the * operator.

impl<'a, P: CubicExtParameters> MulAssign<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> MulAssign<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> MulAssign<CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> Neg for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: CubicExtParameters> One for CubicExtField<P>[src]

impl<P: CubicExtParameters> Ord for CubicExtField<P>[src]

CubicExtField elements are ordered lexicographically.

impl<P: CubicExtParameters> PartialEq<CubicExtField<P>> for CubicExtField<P> where
    P: CubicExtParameters
[src]

impl<P: CubicExtParameters> PartialOrd<CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> Product<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> Product<CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> Sub<&'a CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: CubicExtParameters> Sub<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<P: CubicExtParameters> Sub<CubicExtField<P>> for CubicExtField<P>[src]

type Output = Self

The resulting type after applying the - operator.

impl<'a, P: CubicExtParameters> SubAssign<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> SubAssign<&'a mut CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> SubAssign<CubicExtField<P>> for CubicExtField<P>[src]

impl<'a, P: CubicExtParameters> Sum<&'a CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> Sum<CubicExtField<P>> for CubicExtField<P>[src]

impl<P: CubicExtParameters> ToBytes for CubicExtField<P>[src]

impl<P: CubicExtParameters> ToConstraintField<<P as CubicExtParameters>::BasePrimeField> for CubicExtField<P> where
    P::BaseField: ToConstraintField<P::BasePrimeField>, 
[src]

impl<P: CubicExtParameters> Zero for CubicExtField<P>[src]

impl<P: CubicExtParameters> Zeroize for CubicExtField<P>[src]

Auto Trait Implementations

impl<P> Send for CubicExtField<P>

impl<P> Sync for CubicExtField<P>

impl<P> Unpin for CubicExtField<P> where
    P: Unpin,
    <P as CubicExtParameters>::BaseField: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UniformRand for T where
    Standard: Distribution<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,