pub trait SparseLinearSolver {
// Required methods
fn solve(
&mut self,
residuals: &Mat<f64>,
jacobians: &SparseColMat<usize, f64>,
) -> Option<Mat<f64>>;
fn solve_jtj(
&mut self,
jtr: &Mat<f64>,
jtj: &SparseColMat<usize, f64>,
) -> Option<Mat<f64>>;
}Required Methods§
fn solve( &mut self, residuals: &Mat<f64>, jacobians: &SparseColMat<usize, f64>, ) -> Option<Mat<f64>>
fn solve_jtj( &mut self, jtr: &Mat<f64>, jtj: &SparseColMat<usize, f64>, ) -> Option<Mat<f64>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".