Trait dimensioned::dimensioned::Sqrt [] [src]

pub trait Sqrt {
    type Output;
    fn sqrt(self) -> Self::Output;
}

Because it would not make sense to implement Float for Dim<D, V>, we create a special Sqrt trait. We then implement it for Dim<D, V> where V: Float

Associated Types

type Output

Required Methods

fn sqrt(self) -> Self::Output

Take the square root of a dimensioned object

Implementors