Skip to main content
Added top-level tag (bump the question -- maybe someone wishes to cast the remaining delete vote).
Link
Stefan Kohl
  • 19.6k
  • 21
  • 75
  • 137

For any column vector we can easily create a corresponding diagonal matrix, whose elements along the diagonal are the elements of the column vector.

Is there a simple notationway to transformwrite this transformation using standard linear algebra operations (such as matrix multiplication, etc.), instead of explicitly writing it as $diag(\mathbf{x})$?

For example $M \mathbf{x}$ cannot work for any matrix M, since the result will be a column vector to, not a diagonal matrix with only. But maybe there is some more elaborate expression that yields the diagonal matrix operations?.

Is there a simple notation to transform a column vector to a diagonal matrix with only matrix operations?

For any column vector we can easily create a corresponding diagonal matrix, whose elements along the diagonal are the elements of the column vector.

Is there a simple way to write this transformation using standard linear algebra operations (such as matrix multiplication, etc.), instead of explicitly writing it as $diag(\mathbf{x})$?

For example $M \mathbf{x}$ cannot work for any matrix M, since the result will be a vector, not a diagonal matrix. But maybe there is some more elaborate expression that yields the diagonal matrix.

Post Closed as "not a real question" by Theo Johnson-Freyd, Yemon Choi, Denis Serre, David Roberts, Andrew Stacey
Source Link
Jerry
  • 247
  • 1
  • 2
  • 3

vector to diagonal matrix

Is there a simple notation to transform a column vector to a diagonal matrix with only matrix operations?