Differences between revisions 2 and 3
Revision 2 as of 2005-06-28 14:55:05
Size: 349
Editor: 203
Comment:
Revision 3 as of 2011-08-03 11:00:42
Size: 349
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

[Matrix]에서 행, 열을 바꾸기

http://mathworld.wolfram.com/Transpose.html

전치행렬공식

\math{(AB)^{T} = B^{T}A^{T}

[Python]에서는 다음처럼쓰면 편하다.

   1 >>> def transpose(array): 
   2 ...    return zip(*array) 
   3 ... 
   4 >>> transpose([(1,2,3), (4,5,6)]) 
   5 [(1, 4), (2, 5), (3, 6)]

Transpose (last edited 2011-08-22 09:17:17 by 211)

web biohackers.net