#[non_exhaustive]pub struct LDLTDecomposition<T> {
pub l: Matrix<T>,
pub d: Matrix<T>,
}
Expand description
The result of an LDL^T
Decomposition of some matrix A
such that LDL^T = A
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.l: Matrix<T>
§d: Matrix<T>
Implementations§
Source§impl<T> LDLTDecomposition<T>
impl<T> LDLTDecomposition<T>
Sourcepub fn from_unchecked(l: Matrix<T>, d: Matrix<T>) -> LDLTDecomposition<T>
pub fn from_unchecked(l: Matrix<T>, d: Matrix<T>) -> LDLTDecomposition<T>
Creates an LDL^T
Decomposition struct from two matrices without checking that LDL^T = A
or that L and D have the intended properties.
This is provided for assistance with unit testing.
Trait Implementations§
Source§impl<T: Clone> Clone for LDLTDecomposition<T>
impl<T: Clone> Clone for LDLTDecomposition<T>
Source§fn clone(&self) -> LDLTDecomposition<T>
fn clone(&self) -> LDLTDecomposition<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for LDLTDecomposition<T>
impl<T: Debug> Debug for LDLTDecomposition<T>
Auto Trait Implementations§
impl<T> Freeze for LDLTDecomposition<T>
impl<T> RefUnwindSafe for LDLTDecomposition<T>where
T: RefUnwindSafe,
impl<T> Send for LDLTDecomposition<T>where
T: Send,
impl<T> Sync for LDLTDecomposition<T>where
T: Sync,
impl<T> Unpin for LDLTDecomposition<T>where
T: Unpin,
impl<T> UnwindSafe for LDLTDecomposition<T>where
T: UnwindSafe,
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