num::lu_invert¶
Defined in header <linear/factorization/lu.hpp>
template <std::floating_point T, class Index>
void lu_invert(T *inverse, const T *LU, const Index *piv, idx n, T *work) noexcept;
Compute the inverse from packed LU factors: \(X \leftarrow A^{-1}\). Out of place; work holds n elements.