pub trait FactorizedSystem: Send + Sync {
// Required methods
fn solve(&self, rhs: &Array1<f64>) -> Result<Array1<f64>, String>;
fn solvemulti(&self, rhs: &Array2<f64>) -> Result<Array2<f64>, String>;
fn logdet(&self) -> f64;
}Expand description
A generic abstraction over a factorized symmetric positive-definite (or regularized) system.
Required Methods§
Sourcefn solve(&self, rhs: &Array1<f64>) -> Result<Array1<f64>, String>
fn solve(&self, rhs: &Array1<f64>) -> Result<Array1<f64>, String>
Solve $H x = b$ for a single right-hand side.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".