pub fn nth_root<T: Real>(x: T, n: i32) -> TExpand description
n-th root of x (any real n).
ยงExamples
use mathverse_core::ops::nth_root;
assert!((nth_root(27.0_f64, 3) - 3.0).abs() < 1e-12);
assert!((nth_root(16.0_f64, 4) - 2.0).abs() < 1e-12);