pub struct LuDecomposition { /* private fields */ }Expand description
The LU decomposition of a square matrix.
Implementations§
Source§impl LuDecomposition
impl LuDecomposition
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 LuDecomposition
impl RefUnwindSafe for LuDecomposition
impl Send for LuDecomposition
impl Sync for LuDecomposition
impl Unpin for LuDecomposition
impl UnsafeUnpin for LuDecomposition
impl UnwindSafe for LuDecomposition
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