Trait easy_ml::numeric::extra::Sqrt[][src]

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

A type which can be square rooted.

This is implemented by f32 and f64 by value and by reference, as well as Traces and Records of these.

Associated Types

Loading content...

Required methods

fn sqrt(self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl Sqrt for f32[src]

type Output = f32

fn sqrt(self) -> Self::Output[src]

impl Sqrt for &f32[src]

type Output = f32

fn sqrt(self) -> Self::Output[src]

impl Sqrt for f64[src]

type Output = f64

fn sqrt(self) -> Self::Output[src]

impl Sqrt for &f64[src]

type Output = f64

fn sqrt(self) -> Self::Output[src]

Loading content...

Implementors

impl<'a, T: Numeric + Real + Primitive> Sqrt for &Record<'a, T> where
    &'t T: NumericRef<T> + RealRef<T>, 
[src]

Square root of a Record by reference.

type Output = Record<'a, T>

fn sqrt(self) -> Self::Output[src]

impl<'a, T: Numeric + Real + Primitive> Sqrt for Record<'a, T> where
    &'t T: NumericRef<T> + RealRef<T>, 
[src]

Operation for a record by value.

type Output = Record<'a, T>

fn sqrt(self) -> Self::Output[src]

impl<T: Numeric + Real + Primitive> Sqrt for &Trace<T> where
    &'a T: NumericRef<T> + RealRef<T>, 
[src]

Square root of a Trace by reference.

type Output = Trace<T>

fn sqrt(self) -> Self::Output[src]

impl<T: Numeric + Real + Primitive> Sqrt for Trace<T> where
    &'a T: NumericRef<T> + RealRef<T>, 
[src]

Operation for a trace by value.

type Output = Trace<T>

fn sqrt(self) -> Self::Output[src]

Loading content...