Skip to main content

NumKernel

Trait NumKernel 

Source
pub trait NumKernel:
    Clone
    + Debug
    + PartialEq
    + Sync {
    type RawRealType: Sized + Debug + RealValueValidator + PartialOrd<f64>;
    type RawComplexType: Sized + Debug + ComplexValueValidator<RealType = Self::RawRealType>;
    type RealType: FunctionsRealType<Self> + Serialize + DeserializeOwned;
    type ComplexType: FunctionsComplexType<Self> + Serialize + DeserializeOwned;
}
Expand description

Trait used to indicate the type of floating point number that is used.

Required Associated Types§

Source

type RawRealType: Sized + Debug + RealValueValidator + PartialOrd<f64>

Source

type RawComplexType: Sized + Debug + ComplexValueValidator<RealType = Self::RawRealType>

Source

type RealType: FunctionsRealType<Self> + Serialize + DeserializeOwned

The type for a real scalar value in this numerical kernel.

Source

type ComplexType: FunctionsComplexType<Self> + Serialize + DeserializeOwned

The type for a complex scalar value in this numerical kernel.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§