1use crate::LinearSolver; 2 3use super::Matrix; 4 5pub trait DefaultSolver: Matrix { 6 type LS: LinearSolver<Self> + Default; 7 fn default_solver() -> Self::LS { 8 Self::LS::default() 9 } 10}