Skip to main content

solve_with_partial_pivoting

Function solve_with_partial_pivoting 

Source
pub fn solve_with_partial_pivoting(
    a: &Array2<f64>,
    b: &Array1<f64>,
) -> Result<Array1<f64>, Error>
Expand description

Solves A x = b by elimination with partial pivoting: at step k the row with the largest |a_ik| (i ≥ k) is swapped into the pivot position.