num::block_lu_factor¶
Defined in header <linear/factorization/block_tridiagonal.hpp>
struct block_lu_factor;
Factors of a block LU factorization: \(P A P^T = \mathcal{L} \mathcal{U}\), block bidiagonal.
Members¶
| member | description |
|---|---|
idx size = 0 |
Order of the original matrix. |
array<idx> offsets |
nb + 1 block boundaries in reordered indexing. |
array<idx> order |
order[p] is the original row at reordered position p. |
array<lu_result<real>> diagonal |
No-pivot factors of the diagonal Schur blocks. |
array<mat<real>> upper |
upper[k]: block (k, k+1). Size nb - 1. |
array<mat<real>> lower |
lower[k]: block (k+1, k), already scaled. Size nb - 1. |
idx blocks() const noexcept |
Return the number of blocks. |
idx block_size(idx k) const |
Return the number of rows in block k. |
bool singular() const noexcept |
Test whether a diagonal block was singular. |