powered by
rdiag: right (i.e., post) Multiply a matrix by a diagonal matrix (with only the diagonal elements being given).
rdiag
rdiag(X, y)
an \(I\) by \(J\) matrix equal to X
an \(I\) by \(J\) matrix.
a \(J\) element vector (of the diagonal elements of a \(J\) by \(J\) matrix)
Hervé Abdi
ldiag