what does “D = diag(W.1)” means?, what does “D = diag(W.1)” means?on page #2, just below equation (6) PFA screenshot and here is the link of the paper - original paper


I believe that $\mathbf W\cdot \mathbf 1$ denotes a matrix-vector product of a matrix $\mathbf W$ with a vector of ones $\mathbf 1$ of the corresponding size (number of columns).

The result of this operation is a vector (of the size of number of rows of $\mathbf W$), so, it makes total sense to apply a diagonal function on it to arrive to a matrix form.

Disclaimer: my assumption is based solely on reading the formula at question, and not looking at the rest of the paper at all.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.