Function rust_pathtracer::prelude::try_invert_to
source · 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>
) -> boolwhere
T: ComplexField,
D: Dim,
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.