Function nalgebra::linalg::try_invert_to
source ยท pub fn try_invert_to<T: ComplexField, D: Dim, S>(
matrix: OMatrix<T, D, D>,
out: &mut Matrix<T, D, D, S>,
) -> bool
Expand description
Performs a LU decomposition to overwrite out
with the inverse of matrix
.
If matrix
is not invertible, false
is returned and out
may contain invalid data.