solve_lu

Function solve_lu 

Source
pub fn solve_lu<F>(
    a: &ArrayView2<'_, F>,
    b: &ArrayView1<'_, F>,
) -> IntegrateResult<Array1<F>>
where F: IntegrateFloat,
Expand description

Solve a linear system Ax = b using LU decomposition

§Arguments

  • a - The coefficient matrix A
  • b - The right-hand side vector b

§Returns

  • Result<Array1<F>, IntegrateError> - The solution vector x