num::ilu0_factor¶
Defined in header <linear/solvers/ilu.hpp>
template <std::floating_point T, std::integral Index>
bool ilu0_factor(T *val, const Index *row_ptr, const Index *col_idx,
const Index *diagonal, Index *scratch,
std::type_identity_t<Index> n) noexcept;
Factor by incomplete LU on the pattern of \(A\), in place (ILU(0)): \(A \approx L U\). Returns false on a zero or non-finite pivot.