Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:objects:matrix:functions:transpose [2024/12/12 16:56] Maurits W. Haverkortdocumentation:language_reference:objects:matrix:functions:transpose [2024/12/12 18:15] (current) Maurits W. Haverkort
Line 5: Line 5:
 Matrix.Transpose($M$) takes a matrix $M$ and returns its transpose. Matrix.Transpose($M$) takes a matrix $M$ and returns its transpose.
 ### ###
 +
 +
 +
 +===== Example =====
 +
 +==== Input ====
 +<code Quanty Example.Quanty>
 +A = Matrix.New({{1,1+2*I},{3,4+I}})
 +B = Matrix.Transpose(A)
 +print(B)
 +</code>
 +
 +==== Result ====
 +<file Quanty_Output>
 +{ {  1              ,  3              } ,
 +  {  1 + 2 I        ,  4 + 1 I        } }
 +</file>
  
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>..:#2|tsort}} {{indexmenu>..:#2|tsort}}
  
Print/export