2 %> Calculate the divergence of the example in Figure 21.10 of \cite Bier15-book
7 %> @author Michel Bierlaire
8 %> @date Sun Mar 29 17:31:46 2015
11 A = [0 1 0 0 0 0 0 0 ;
21 flow = [ 2.3 ; # (1,2)
function nodeDivergence(in adj, in flow)
Compute the divergence of a flow vector.