Skip to content

num::structures::debug::verify_laplacian_structure

Defined in header <structures/debug.hpp>

template <class Mat>
void verify_laplacian_structure(
    const Mat &L, double tol = 1e-9,
    std::source_location loc = std::source_location::current());

Check that a graph Laplacian is symmetric with zero row sums: \(L = D - W\), \(L \mathbf{1} = 0\).