Skip to main content

SquareRoot

Trait SquareRoot 

Source
pub trait SquareRoot {
    type Output;

    // Required method
    fn sqrt(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn sqrt(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SquareRoot for f32

Source§

type Output = f32

Source§

fn sqrt(self) -> Self::Output

Source§

impl SquareRoot for f64

Source§

type Output = f64

Source§

fn sqrt(self) -> Self::Output

Source§

impl<A, B, S, D> SquareRoot for ArrayBase<S, D>
where A: Clone + SquareRoot<Output = B>, D: Dimension, S: Data<Elem = A>,

Source§

type Output = ArrayBase<OwnedRepr<B>, D>

Source§

fn sqrt(self) -> Self::Output

Source§

impl<A> SquareRoot for Complex<A>
where Complex<A>: ComplexFloat<Real = A>,

Source§

type Output = Complex<A>

Source§

fn sqrt(self) -> Self::Output

Implementors§