1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod compute;
mod const_generic;
mod inv;
mod root_degree;
#[cfg(test)]
mod tests;

pub use self::{
    compute::NthRoot, const_generic::RootInvParams, inv::nth_inv_root,
    root_degree::RootDegree,
};

pub fn nth_root<N: RootDegree, I: NthRoot>(input: I) -> I {
    input.nth_root::<N>()
}