pub trait SVEKernel: AbstractKernel {
type SVEHintsType<T>: SVEHints<T> + Clone
where T: Copy + Debug + Send + Sync + CustomNumeric + 'static;
// Required methods
fn xmax(&self) -> f64;
fn ymax(&self) -> f64;
fn sve_hints<T>(&self, epsilon: f64) -> Self::SVEHintsType<T>
where T: Copy + Debug + Send + Sync + CustomNumeric + 'static;
// Provided methods
fn xmin(&self) -> f64 { ... }
fn ymin(&self) -> f64 { ... }
}Expand description
The domain of a kernel and the discretization hints of its SVE
This is what crate::sve::compute_sve needs of a kernel besides its
values (AbstractKernel) and its strategy (ExpandableKernel).
Required Associated Types§
Sourcetype SVEHintsType<T>: SVEHints<T> + Clone
where
T: Copy + Debug + Send + Sync + CustomNumeric + 'static
type SVEHintsType<T>: SVEHints<T> + Clone where T: Copy + Debug + Send + Sync + CustomNumeric + 'static
Associated type for SVE hints
Required Methods§
Sourcefn sve_hints<T>(&self, epsilon: f64) -> Self::SVEHintsType<T>
fn sve_hints<T>(&self, epsilon: f64) -> Self::SVEHintsType<T>
Create SVE hints for this kernel type.
Provides discretization hints for singular value expansion computation. The hints include segment information and numerical parameters optimized for the specific kernel type.
@param epsilon Target accuracy for the SVE computation @return SVE hints specific to this kernel type
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".