ark_r1cs_std::fields::fp3

Type Alias Fp3Var

Source
pub type Fp3Var<P> = CubicExtVar<FpVar<<P as Fp3Config>::Fp>, Fp3ConfigWrapper<P>>;
Expand description

A cubic extension field constructed over a prime field. This is the R1CS equivalent of ark_ff::Fp3<P>.

Aliased Type§

struct Fp3Var<P> {
    pub c0: FpVar<<P as Fp3Config>::Fp>,
    pub c1: FpVar<<P as Fp3Config>::Fp>,
    pub c2: FpVar<<P as Fp3Config>::Fp>,
    /* private fields */
}

Fields§

§c0: FpVar<<P as Fp3Config>::Fp>

The zero-th coefficient of this field element.

§c1: FpVar<<P as Fp3Config>::Fp>

The first coefficient of this field element.

§c2: FpVar<<P as Fp3Config>::Fp>

The second coefficient of this field element.