MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
nested_dissection.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <mtl/mat/compressed2D.hpp>
#include <mtl/sparse/ordering/minimum_degree.hpp>
#include <mtl/sparse/ordering/multilevel_separator.hpp>

Classes

struct  mtl::sparse::ordering::nested_dissection
 Nested dissection ordering. More...

Namespaces

namespace  mtl
namespace  mtl::sparse
namespace  mtl::sparse::ordering
namespace  mtl::sparse::ordering::detail

Enumerations

enum class  mtl::sparse::ordering::nd_separator { mtl::sparse::ordering::level_structure , mtl::sparse::ordering::multilevel }
 How nested_dissection finds its separators. More...

Functions

std::vector< std::size_t > mtl::sparse::ordering::detail::nested_dissection_core (std::size_t n, const std::vector< idx > &Cp, const std::vector< idx > &Ci, std::size_t cutoff, double balance, nd_separator method=nd_separator::level_structure)
 Nested dissection on a symmetric pattern without diagonal, given as integer CSC arrays (the A + A^T pattern build_aplusat_pattern produces).