Skip to content

num::linear::to_dense_adjacency

Defined in header <linear/graph/laplacian.hpp>

template <typename Weight = real, typename Index = idx>
mat<real> to_dense_adjacency(const graph<Weight, Index> &g);

The weighted adjacency matrix of a graph, dense.