Function extendr_api::prelude::modules::lu::full_pivoting::reconstruct::reconstruct_in_place
pub fn reconstruct_in_place<I, E>(
lu_factors: MatMut<'_, E>,
row_perm: PermRef<'_, I>,
col_perm: PermRef<'_, I>,
parallelism: Parallelism<'_>,
stack: PodStack<'_>,
)where
I: Index,
E: ComplexField,
Expand description
Computes the reconstructed matrix, given its full pivoting LU decomposition,
and stores the result in lu_factors
.
§Panics
- Panics if the row permutation doesn’t have the same dimension as the number of rows of the matrix.
- Panics if the column permutation doesn’t have the same dimension as the number of columns of the matrix.
- Panics if the provided memory in
stack
is insufficient (seereconstruct_in_place_req
).