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

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.

Associated Types

type Output

Loading content...

Required methods

fn cos(self) -> Self::Output

Loading content...

Implementations on Foreign Types

impl Cos for f32[src]

type Output = f32

impl<'_> Cos for &'_ f32[src]

type Output = f32

impl Cos for f64[src]

type Output = f64

impl<'_> Cos for &'_ f64[src]

type Output = f64

Loading content...

Implementors

Loading content...