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