Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:language_reference:objects:matrix:functions:conjugatetranspose [2024/12/12 16:53] – Maurits W. Haverkort | documentation:language_reference:objects:matrix:functions:conjugatetranspose [2024/12/12 17:09] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 5: | Line 5: | ||
Matrix.ConjugateTranspose($M$) takes a matrix $M$ and returns its conjugate transpose. | Matrix.ConjugateTranspose($M$) takes a matrix $M$ and returns its conjugate transpose. | ||
### | ### | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | ==== Input ==== | ||
+ | <code Quanty Example.Quanty> | ||
+ | A = Matrix.New({{1, | ||
+ | B = Matrix.ConjugateTranspose(A) | ||
+ | print(B) | ||
+ | </ | ||
+ | |||
+ | ==== Result ==== | ||
+ | <file Quanty_Output> | ||
+ | { { 1 , 3 } , | ||
+ | { 1 - 2 I , 4 - 1 I } } | ||
+ | </ | ||
+ | |||