I have a square matrix A. Is there a way I can apply operations like addition, subtraction, matrix multiplication, matrix inverse and transpose to get the diagonal of the matrix. For example having: $$\begin{pmatrix}1&2\\3&4\end{pmatrix}$$ I would like to get $(1,4)$.
P.S. based on the conversation with mvw, here is a better description:
I am on board of an alien space ship and the board computer allows only matrix operations but access to the individual matrix elements is blocked. I can only use addition, subtraction, matrix multiplication, matrix inverse and transpose. No access to individual row/column/element. I can only create matrices of any dimension $(1 x n)$, $(n x 1)$, $(n x 2n)$ that have all zeros or all ones. Is there a way for me to get a diagonal vector?
addition,subtraction,matrix multiplication,matrix inverseandtranspose. No access to individual row/column/element. I can't even create other matrices. I am wondering whether I can somehow get the diagonal vector from my matrix. – Salvador Dali Nov 13 '15 at 20:51the best you can get is diagonal matrixis an excellent observation. P.S. I can also create any matrix with all zeros and with all ones. – Salvador Dali Nov 13 '15 at 21:11