Table of Contents

Transpose

Matrix.Transpose($M$) takes a matrix $M$ and returns its transpose.

Example

Input

Example.Quanty
A = Matrix.New({{1,1+2*I},{3,4+I}})
B = Matrix.Transpose(A)
print(B)

Result

{ {  1              ,  3              } ,
  {  1 + 2 I        ,  4 + 1 I        } }

Table of contents