MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::ordering::btf_result Struct Reference

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

Detailed Description

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]).

Member Function Documentation

◆ nblocks()

std::size_t mtl::sparse::ordering::btf_result::nblocks ( ) const
inline

Member Data Documentation

◆ blocks

std::vector<std::size_t> mtl::sparse::ordering::btf_result::blocks

size nblocks()+1; block boundaries

◆ col_perm

std::vector<std::size_t> mtl::sparse::ordering::btf_result::col_perm

q[new] = old column

◆ row_perm

std::vector<std::size_t> mtl::sparse::ordering::btf_result::row_perm

p[new] = old row

◆ structurally_singular

bool mtl::sparse::ordering::btf_result::structurally_singular = false

true if no perfect matching exists


The documentation for this struct was generated from the following file: