pub struct Lu {
pub l: Array2<f64>,
pub u: Array2<f64>,
pub rows: Vec<usize>,
pub swaps: usize,
}Expand description
P A = L U with the permutation stored as a row order.
Fields§
§l: Array2<f64>Unit lower triangular factor.
u: Array2<f64>Upper triangular factor.
rows: Vec<usize>Row i of P A is row rows[i] of A.
swaps: usizeThe number of row swaps (for the determinant’s sign).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lu
impl RefUnwindSafe for Lu
impl Send for Lu
impl Sync for Lu
impl Unpin for Lu
impl UnsafeUnpin for Lu
impl UnwindSafe for Lu
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