pub trait FiniteField: Clone + Eq + Display + Serialize + DeserializeOwned + PartialEq + Debug + Zero + One + Add<Output = Self> + Mul<Output = Self> + Sub<Output = Self> + Div<Output = Self> + Neg<Output = Self> + AddAssign + MulAssign + SubAssign + FromVecu8 + New + CyclicGroupGenerator + ModPowU32 + PrimitiveRootOfUnity + Send + Sync + Copy + Hash + Inverse {
    // Provided methods
    fn batch_inversion(input: Vec<Self>) -> Vec<Self> { ... }
    fn square(self) -> Self { ... }
}

Provided Methods§

source

fn batch_inversion(input: Vec<Self>) -> Vec<Self>

Montgomery Batch Inversion

source

fn square(self) -> Self

Implementors§