INNER CODE UNIT · Rust
pow
pluto/ronkathon · src/algebra/field/mod.rs:73
let pow = p_minus_one / n;
Self::PRIMITIVE_ELEMENT.pow(pow)
}
}
/// traits that define some functions usable in signatures
pub trait FieldExt: Sized {
/// Returns the square root of the field element.
fn sqrt(&self) -> Option<(Self, Self)>;
fn euler_criterion(&self) -> bool;
}