Trait twenty_first::shared_math::traits::FiniteField
source · 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§
sourcefn batch_inversion(input: Vec<Self>) -> Vec<Self>
fn batch_inversion(input: Vec<Self>) -> Vec<Self>
Montgomery Batch Inversion