MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
supernodes.hpp File Reference
#include <cassert>
#include <cstddef>
#include <vector>
#include <mtl/sparse/util/csc.hpp>
#include <mtl/sparse/analysis/elimination_tree.hpp>

Classes

struct  mtl::sparse::analysis::supernode_partition
 Partition of the columns of L into fundamental supernodes. More...

Namespaces

namespace  mtl
namespace  mtl::sparse
namespace  mtl::sparse::analysis

Functions

template<typename Value, typename SizeType>
void mtl::sparse::analysis::symbolic_cholesky_pattern (const util::csc_matrix< Value, SizeType > &C, const std::vector< std::size_t > &parent, std::vector< std::size_t > &col_ptr, std::vector< std::size_t > &row_ind)
 Compute the column-wise nonzero pattern of the Cholesky factor L.
template<typename Value, typename SizeType>
supernode_partition mtl::sparse::analysis::find_supernodes (const util::csc_matrix< Value, SizeType > &C, const std::vector< std::size_t > &parent, std::size_t relax=0)
 Detect fundamental supernodes of a symmetric matrix C (CSC, both triangles) with elimination tree parent, both in postordered space.