pub trait SVEStrategy<T: CustomNumeric> {
// Required methods
fn matrices(&self) -> Vec<Mat<T>>;
fn postprocess(
&self,
u_list: Vec<Mat<T>>,
s_list: Vec<Vec<T>>,
v_list: Vec<Mat<T>>,
) -> Result<SVEResult, Error>;
// Provided method
fn blocks(&self) -> Vec<KernelBlock<'_, T>>
where T: Send + Sync + 'static { ... }
}Expand description
Trait for SVE computation strategies
Required Methods§
Provided Methods§
Sourcefn blocks(&self) -> Vec<KernelBlock<'_, T>>
fn blocks(&self) -> Vec<KernelBlock<'_, T>>
The discretized, weighted kernel blocks to decompose, the matrices of
Self::matrices with their entries evaluated on demand
compute_sve decomposes these in double-double by adaptive cross
approximation, which reads only a few rows and columns of each (in
f64 it decomposes Self::matrices as before). The default forms the
matrices; the strategies of this crate evaluate the kernel lazily.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".