Function na::linalg::try_invert_to[][src]

pub fn try_invert_to<N, D, S>(
    matrix: Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>,
    out: &mut Matrix<N, D, D, S>
) -> bool where
    D: Dim,
    N: ComplexField,
    S: StorageMut<N, D, D>,
    DefaultAllocator: Allocator<N, D, D>, 

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.