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

pub trait Sin {
    type Output;
    fn sin(self) -> Self::Output;
}

A type which can compute the sine of itself: sin(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 sin(self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl Sin for f32[src]

type Output = f32

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

impl Sin for &f32[src]

type Output = f32

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

impl Sin for f64[src]

type Output = f64

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

impl Sin for &f64[src]

type Output = f64

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

Loading content...

Implementors

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

Sine of a Record by reference.

type Output = Record<'a, T>

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

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

Operation for a record by value.

type Output = Record<'a, T>

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

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

Sine of a Trace by reference.

type Output = Trace<T>

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

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

Operation for a trace by value.

type Output = Trace<T>

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

Loading content...