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§
Sourcetype RawReal: RawRealTrait
type RawReal: RawRealTrait
The raw real type associated with this kernel (e.g., f64
).
Sourcetype RawComplex: RawComplexTrait<RawReal = Self::RawReal>
type RawComplex: RawComplexTrait<RawReal = Self::RawReal>
The raw complex type associated with this kernel (e.g., Complex<f64>
).