Skip to content

num::linear::dense_markov_generator

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

template <typename Weight = real, typename Index = idx>
mat<real> dense_markov_generator(const graph<Weight, Index> &g,
                                 bool column_oriented = true);

The rate matrix of the Markov chain on a graph, dense.