|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Result of a Block Triangular Form decomposition. More...
#include <dulmage_mendelsohn.hpp>
Public Member Functions | |
| std::size_t | nblocks () const |
Public Attributes | |
| std::vector< std::size_t > | row_perm |
| p[new] = old row | |
| std::vector< std::size_t > | col_perm |
| q[new] = old column | |
| std::vector< std::size_t > | blocks |
| size nblocks()+1; block boundaries | |
| bool | structurally_singular = false |
| true if no perfect matching exists | |
Result of a Block Triangular Form decomposition.
A(row_perm, col_perm) is block upper triangular; block b spans new indices [blocks[b], blocks[b+1]).
|
inline |
| std::vector<std::size_t> mtl::sparse::ordering::btf_result::blocks |
size nblocks()+1; block boundaries
| std::vector<std::size_t> mtl::sparse::ordering::btf_result::col_perm |
q[new] = old column
| std::vector<std::size_t> mtl::sparse::ordering::btf_result::row_perm |
p[new] = old row
| bool mtl::sparse::ordering::btf_result::structurally_singular = false |
true if no perfect matching exists