cfx_math/nth_root/
mod.rs

1mod compute;
2mod const_generic;
3mod inv;
4mod root_degree;
5#[cfg(test)]
6mod tests;
7
8pub use self::{
9    compute::NthRoot, const_generic::RootInvParams, inv::nth_inv_root,
10    root_degree::RootDegree,
11};
12
13pub fn nth_root<N: RootDegree, I: NthRoot>(input: I) -> I {
14    input.nth_root::<N>()
15}