Skip to main content

SVEStrategy

Trait SVEStrategy 

Source
pub trait SVEStrategy<T>
where 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>; }
Expand description

Trait for SVE computation strategies

Required Methods§

Source

fn matrices(&self) -> Vec<Mat<T>>

Compute the discretized matrices for SVD

Source

fn postprocess( &self, u_list: Vec<Mat<T>>, s_list: Vec<Vec<T>>, v_list: Vec<Mat<T>>, ) -> Result<SVEResult, Error>

Post-process SVD results to create SVEResult

§Errors

The errors of SVEResult::new

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§