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
where S: StorageMut<T, D, D>, DefaultAllocator: Allocator<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.