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);
Construct the adjacency matrix of a graph, dense: \(W_{ij} = w_{ij}\).