Question to ArrTranspose()
Question to ArrTranspose()
Is there a function (in opposite to ArrTranspose()) that make from a array in form {{1,2,3},{4,5,6},{7,8,9}} a array {{1,4,7},{2,5,8},{3,6,9}}?
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Question to ArrTranspose()
ArrTranspose() itself is the oppostite of ArrTranspose()
Code: Select all
ArrTranspose( {{1,2,3},{4,5,6},{7,8,9}} ) //--> {{1,4,7},{2,5,8},{3,6,9}}
//and
ArrTranspose( {{1,4,7},{2,5,8},{3,6,9}} ) //--> {{1,2,3},{4,5,6},{7,8,9}}
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: Question to ArrTranspose()
Great, Thanks!