Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:language_reference:objects:matrix:functions:transpose [2018/09/26 13:27] – Removed the promise of an example Simon Heinze | documentation: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, | ||
+ | B = Matrix.Transpose(A) | ||
+ | print(B) | ||
+ | </ | ||
+ | |||
+ | ==== Result ==== | ||
+ | <file Quanty_Output> | ||
+ | { { 1 , 3 } , | ||
+ | { 1 + 2 I , 4 + 1 I } } | ||
+ | </ | ||
===== Table of contents ===== | ===== Table of contents ===== | ||
- | {{indexmenu> | + | {{indexmenu> |