pub struct LdlDecomposition { /* private fields */ }Expand description
The LDLᵀ decomposition of a symmetric matrix.
Implementations§
Source§impl LdlDecomposition
impl LdlDecomposition
Sourcepub fn zero(len: usize) -> Self
pub fn zero(len: usize) -> Self
An unfactorized decomposition sized to hold that of a matrix of the given length.
Sourcepub fn solve(&self, b: &Vector) -> Vector
pub fn solve(&self, b: &Vector) -> Vector
Solve a system of linear equations for another right-hand side.
Sourcepub fn solve_into(&self, b: &Vector, x: &mut Vector)
pub fn solve_into(&self, b: &Vector, x: &mut Vector)
Solve a system of linear equations into an existing vector.
Auto Trait Implementations§
impl Freeze for LdlDecomposition
impl RefUnwindSafe for LdlDecomposition
impl Send for LdlDecomposition
impl Sync for LdlDecomposition
impl Unpin for LdlDecomposition
impl UnsafeUnpin for LdlDecomposition
impl UnwindSafe for LdlDecomposition
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