Block Triangular Form (BTF) (sksparse.btf)¶
Added in version 0.5.0.
Python interface to the Block Triangular Format (BTF) library.
Interface¶
|
Compute the maximum transversal of a sparse matrix. |
|
Compute the strongly connected components of a directed graph. |
|
Permute the square sparse matrix into Block Triangular Form (BTF). |
Convert a raw BTF column permutation vector to a valid permutation. |
References
Duff, Iain. “On Algorithms for Obtaining a Maximum Transversal”, ACM Trans. Mathematical Software, vol 7, no. 1, pp. 315-330.
“Algorithm 575: Permutations for a Zero-Free Diagonal”, ACM Trans. Mathematical Software, vol 7, no. 1, pp. 387-390. Algorithm 575 is MC21A in the Harwell Subroutine Library.