Function nalgebra::linalg::try_invert_to [−][src]
pub fn try_invert_to<T: ComplexField, D: Dim, S>(
matrix: OMatrix<T, D, D>,
out: &mut Matrix<T, D, D, S>
) -> bool where
S: StorageMut<T, D, D>,
DefaultAllocator: Allocator<T, D, D>,
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.