Skip to content

num::banded_lu_result

Defined in header <linear/banded/banded.hpp>

struct banded_lu_result;

The banded factorization \(PA = LU\).

LU holds both factors in band storage: \(U\), with the fill pivoting adds, in the rows above the diagonal row, and the multipliers of \(L\) below it. \(L\) has a unit diagonal, which is not stored. Step k exchanged rows k and swaps[k].

Members

member description
band_mat LU
array<idx> swaps
bool singular = false True when a pivot column was entirely zero.
idx size() const