Trait dimensioned::dimensioned::Root
[−]
[src]
pub trait Root<Radicand> {
type Output;
fn root(radicand: Radicand) -> Self::Output;
}Generic roots using peano numbers.
No other types should implement it.
Example:
let x = 2.0*m; assert_eq!(x, Two::root(x*x));