RawKernel

Trait RawKernel 

Source
pub trait RawKernel:
    Send
    + Sync
    + 'static {
    type RawReal: RawRealTrait;
    type RawComplex: RawComplexTrait<RawReal = Self::RawReal>;
}
Expand description

Defines the identity of a raw numerical kernel by associating its fundamental types.

This trait acts as a low-level building block that groups the core “raw” types of a numerical backend. It specifies which concrete types implement RawRealTrait and RawComplexTrait for a given kernel.

It is primarily used as a supertrait for NumKernel, which extends this type-level association with concrete validation logic and precision information.

Required Associated Types§

Source

type RawReal: RawRealTrait

The raw real type associated with this kernel (e.g., f64).

Source

type RawComplex: RawComplexTrait<RawReal = Self::RawReal>

The raw complex type associated with this kernel (e.g., Complex<f64>).

Implementors§

Source§

impl RawKernel for Native64

Source§

impl<RawReal: RawRealTrait, const PRECISION: u32> RawKernel for NumKernelStrictFinite<RawReal, PRECISION>

Source§

type RawReal = RawReal

Source§

type RawComplex = <RawReal as RawRealTrait>::RawComplex

Source§

impl<RawReal: RawRealTrait, const PRECISION: u32> RawKernel for NumKernelStrictFiniteInDebug<RawReal, PRECISION>

Source§

type RawReal = RawReal

Source§

type RawComplex = <RawReal as RawRealTrait>::RawComplex