Function nalgebra::linalg::try_invert_to[][src]

pub fn try_invert_to<N: ComplexField, D: Dim, S>(
    matrix: MatrixN<N, D>,
    out: &mut Matrix<N, D, D, S>
) -> bool where
    S: StorageMut<N, D, D>,
    DefaultAllocator: Allocator<N, 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.