pub trait Factor<T: RealField>: Send + Sync {
// Required method
fn residual_func(&self, params: &[DVector<T>]) -> DVector<T>;
}
pub trait Factor<T: RealField>: Send + Sync {
// Required method
fn residual_func(&self, params: &[DVector<T>]) -> DVector<T>;
}