num::lu_result¶
Defined in header <linear/factorization/lu.hpp>
template <std::floating_point T>
struct lu_result;
Result of an LU factorization: \(P A = L U\), packed as by LAPACK getrf. \(P\) is stored as row swaps; swaps is empty when unpivoted.
Members¶
| member | description |
|---|---|
mat<T> LU |
|
array<idx> swaps |
|
bool singular = false |
True when a pivot fell below tolerance. |
idx size() const |