pub trait RealByValue<Rhs = Self, Output = Self>: Sqrt<Output = Output> + Exp<Output = Output> + Pow<Rhs, Output = Output> + Ln<Output = Output> + Sin<Output = Output> + Cos<Output = Output> + Sized { }
Expand description

A trait defining what a real number type is in terms of by value numerical operations needed on top of operations defined by Numeric for some functions.

The requirements are Sqrt, Exp, Pow, Ln, Sin, Cos and Sized.

Implementors

Anything which implements all the super traits will automatically implement this trait too. This covers primitives such as f32 & f64 as well as Traces and Records of those types.