- #1
Qubix
- 82
- 1
Say I have the following matrix, written in Mathematica
A := {{a11, a12, a13, a14}, {a21, a22, a23, a24}, {a31, a32, a33,
a34}, {a41, a42, a43, a44}}
I want to exchange the positions of a12 and a21, a14 and a23, a32 and a41 , a34 and a43.
Any ideas?
Thanks.
A := {{a11, a12, a13, a14}, {a21, a22, a23, a24}, {a31, a32, a33,
a34}, {a41, a42, a43, a44}}
I want to exchange the positions of a12 and a21, a14 and a23, a32 and a41 , a34 and a43.
Any ideas?
Thanks.