|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
Functions | |
| std::size_t | etree_leaf (std::size_t i, std::size_t j, const std::vector< std::size_t > &first, std::vector< std::size_t > &maxfirst, std::vector< std::size_t > &prevleaf, std::vector< std::size_t > &ancestor, int &jleaf) |
| CSparse cs_leaf: is column j a leaf of the i-th row subtree of the column etree, and if so where? | |
|
inline |
CSparse cs_leaf: is column j a leaf of the i-th row subtree of the column etree, and if so where?
Returns the least common ancestor q and sets jleaf to 0 (not a leaf), 1 (first leaf), or 2 (subsequent leaf).