powered by
This function returns a diagnoal matrix using the input vector or number as diagonal.
DIAG(e)
A square diagonal matrix using the input as diagonal elements
Diagonal element. Can be a vector or a number