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

pub trait Cos {
    type Output;
    fn cos(self) -> Self::Output;
}

A type which can compute the cosine of itself: cos(self)

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 cos(self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl Cos for f32[src]

type Output = f32

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

impl Cos for &f32[src]

type Output = f32

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

impl Cos for f64[src]

type Output = f64

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

impl Cos for &f64[src]

type Output = f64

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

Loading content...

Implementors

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

Cosine of a Record by reference.

type Output = Record<'a, T>

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

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

Operation for a record by value.

type Output = Record<'a, T>

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

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

Cosine of a Trace by reference.

type Output = Trace<T>

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

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

Operation for a trace by value.

type Output = Trace<T>

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

Loading content...