Skip to main content

lu_decomp

Function lu_decomp 

Source
pub fn lu_decomp(a: &[Vec<f64>]) -> (Vec<Vec<f64>>, Vec<Vec<f64>>, Vec<usize>)
Expand description

LU decomposition with partial pivoting.

Returns (L, U, P) where P is the permutation vector.