INNER CODE UNIT · Rust
inverse
pluto/ronkathon · src/algebra/field/mod.rs:47
fn inverse(&self) -> Option<Self>;
/// Computes the power of the field element.
fn pow(self, power: usize) -> Self;
}
/// fields with a finite number of elements.
pub trait FiniteField: Finite + Field {
/// Returns a multiplicative generator of the field.
const PRIMITIVE_ELEMENT: Self;
/// Returns the primitive n-th root of unity in the field.
///
/// ## Notes
/// In any field of prime order F_p:
/// - There exists an additive group.
/// - There exists a multiplicative subgroup generated by a primitive element 'a'.
///