Trait easy_ml::numeric::extra::Sin

source ·
pub trait Sin {
    type Output;

    // Required method
    fn sin(self) -> Self::Output;
}
Expand description

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.

Required Associated Types§

Required Methods§

source

fn sin(self) -> Self::Output

Implementations on Foreign Types§

source§

impl Sin for &f32

§

type Output = f32

source§

fn sin(self) -> Self::Output

source§

impl Sin for &f64

§

type Output = f64

source§

fn sin(self) -> Self::Output

source§

impl Sin for f32

§

type Output = f32

source§

fn sin(self) -> Self::Output

source§

impl Sin for f64

§

type Output = f64

source§

fn sin(self) -> Self::Output

Implementors§

source§

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

Sine of a Record by reference.

§

type Output = Record<'a, T>

source§

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

Operation for a record by value.

§

type Output = Record<'a, T>

source§

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

Sine of a Trace by reference.

§

type Output = Trace<T>

source§

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

Operation for a trace by value.

§

type Output = Trace<T>