pub struct LuFactorization {
pub n: usize,
pub lu: Vec<f32>,
pub pivot: Vec<usize>,
}Expand description
LU factorization result (in-place: L and U stored in the same matrix).
After factorization, the matrix a contains:
- Upper triangle (including diagonal): U
- Strict lower triangle: L (unit diagonal implicit)
Fields§
§n: usizeRow dimension.
lu: Vec<f32>Factored matrix (L\U packed).
pivot: Vec<usize>Pivot indices: row i was swapped with row pivot[i].
Implementations§
Source§impl LuFactorization
impl LuFactorization
Trait Implementations§
Source§impl Debug for LuFactorization
impl Debug for LuFactorization
Auto Trait Implementations§
impl Freeze for LuFactorization
impl RefUnwindSafe for LuFactorization
impl Send for LuFactorization
impl Sync for LuFactorization
impl Unpin for LuFactorization
impl UnsafeUnpin for LuFactorization
impl UnwindSafe for LuFactorization
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