pub struct SparseSolver { /* private fields */ }Expand description
A sparse direct solver for repeated solves on a fixed sparsity pattern.
Cloning shares the cached factorization, whose pivot order and fill pattern are reused across solves until a pivot degrades. Symmetric values use an LDLᵀ factorization, falling back to LU otherwise. Symmetry is a caller-supplied guarantee about the source values, not detected at runtime — a source whose symmetry can vary between solves (e.g. a tangent that is only symmetric near a particular configuration) must be declared asymmetric.
Implementations§
Trait Implementations§
Source§impl Clone for SparseSolver
impl Clone for SparseSolver
Source§fn clone(&self) -> SparseSolver
fn clone(&self) -> SparseSolver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for SparseSolver
impl !RefUnwindSafe for SparseSolver
impl !Send for SparseSolver
impl !Sync for SparseSolver
impl Unpin for SparseSolver
impl UnsafeUnpin for SparseSolver
impl !UnwindSafe for SparseSolver
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