Trait Real
peroxide::traits::num
pub trait Real: PowOps + TrigOps + ExpLogOps + Neg + PartialOrd + Add<Output = Self> + Mul<Output = Self> + Div<Output = Self> + Sub<Output = Self> + Add<f64, Output = Self> + Mul<f64, Output = Self> + Div<f64, Output = Self> + Sub<f64, Output = Self> + Clone + Copy { pub fn to_f64(&self) -> f64; pub fn from_f64(f: f64) -> Self; pub fn to_ad(&self) -> AD; }
pub fn to_f64(&self) -> f64
pub fn from_f64(f: f64) -> Self
pub fn to_ad(&self) -> AD
impl Real for f64
impl Real for AD