Define ${\rm diag}()$ as a function which returns the main diagonal of its matrix argument as a column vector, and ${\rm Diag}()$ as a function which create a diagonal matrix from a vector argument. Denote the elementwise/Hadamard product using a $\odot$ symbol More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.