Trait diffsol::scalar::Scalar

source ·
pub trait Scalar: Scalar + Entity + ComplexField + SimpleEntity + RealField + From<f64> + Display + SimdRealField + ComplexField + Copy + ClosedSub + From<f64> + ClosedMul + ClosedDiv + ClosedAdd + Signed + Into<f64> + PartialOrd + Pow<Self, Output = Self> + Pow<i32, Output = Self> {
    const EPSILON: Self;
    const INFINITY: Self;
    const NAN: Self;

    // Required method
    fn is_nan(self) -> bool;
}

Required Associated Constants§

source

const EPSILON: Self

source

const INFINITY: Self

source

const NAN: Self

Required Methods§

source

fn is_nan(self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Scalar for f64

source§

const EPSILON: Self = 2.2204460492503131E-16f64

source§

const INFINITY: Self = +Inf_f64

source§

const NAN: Self = NaN_f64

source§

fn is_nan(self) -> bool

Implementors§