Trait ha_ndarray::Float
source · pub trait Float: CType<Float = Self> {
Show 15 methods
// Required methods
fn is_inf(self) -> bool;
fn is_nan(self) -> bool;
fn exp(self) -> Self;
fn ln(self) -> Self;
fn log(self, base: Self) -> Self;
fn sin(self) -> Self;
fn asin(self) -> Self;
fn sinh(self) -> Self;
fn cos(self) -> Self;
fn acos(self) -> Self;
fn cosh(self) -> Self;
fn tan(self) -> Self;
fn atan(self) -> Self;
fn tanh(self) -> Self;
fn to_f64(self) -> f64;
}
Expand description
A floating-point CType
Required Methods§
Object Safety§
This trait is not object safe.