pub enum FactoredDirectSolver {
Lu(SparseLu),
Ldlt(SkylineLdlt),
}Expand description
A factored direct solver able to solve A x = b for multiple right-hand sides.
Variants§
Lu(SparseLu)
Ldlt(SkylineLdlt)
Implementations§
Source§impl FactoredDirectSolver
impl FactoredDirectSolver
Sourcepub fn factor(
kind: DirectSolver,
matrix: &SparseMatrix,
) -> Result<Self, SolverError>
pub fn factor( kind: DirectSolver, matrix: &SparseMatrix, ) -> Result<Self, SolverError>
Factor matrix with the selected direct backend.
Auto Trait Implementations§
impl Freeze for FactoredDirectSolver
impl RefUnwindSafe for FactoredDirectSolver
impl Send for FactoredDirectSolver
impl Sync for FactoredDirectSolver
impl Unpin for FactoredDirectSolver
impl UnsafeUnpin for FactoredDirectSolver
impl UnwindSafe for FactoredDirectSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more