sqrt(w_e)
on the diagonal.Calculate the m by m diagonal weight matrix, W
, for an inputted graph with sqrt(w_e)
on the diagonal.
sqrt_WDiag(weights)
Return diagonal weight matrix, W
, with
List of edges corresponding to edge list.
Alexander Mercier
Intended as internal function.