Page 1 of 1

Question to ArrTranspose()

Posted: Tue Mar 31, 2020 9:41 am
by byte-one
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}}?

Re: Question to ArrTranspose()

Posted: Tue Mar 31, 2020 2:24 pm
by nageswaragunupudi
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}}
 

Re: Question to ArrTranspose()

Posted: Wed Apr 01, 2020 9:44 am
by byte-one
Great, Thanks!