Differences

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

Link to this comparison view

Next revision
Previous revision
documentation:language_reference:objects:matrix:functions:conjugate [2018/09/25 12:08] – created Simon Heinzedocumentation:language_reference:objects:matrix:functions:conjugate [2024/12/12 17:07] (current) Maurits W. Haverkort
Line 5: Line 5:
 Matrix.Conjugate($M$) takes a matrix and returns it with every entry replaced by its complex conjugate. Matrix.Conjugate($M$) takes a matrix and returns it with every entry replaced by its complex conjugate.
 ### ###
 +
 +
 +
 +===== Example =====
 +
 +==== Input ====
 +<code Quanty Example.Quanty>
 +A = Matrix.New({{1,1+2*I},{3,4+I}})
 +B = Matrix.Conjugate(A)
 +print(B)
 +</code>
 +
 +==== Result ====
 +<file Quanty_Output>
 +{ {  1              ,  1 - 2 I        } ,
 +  {  3              ,  4 - 1 I        } }
 +</file>
  
  
 ===== Table of contents ===== ===== Table of contents =====
-{{indexmenu>.#1|msort}}+{{indexmenu>..:#2|tsort}}
  
Print/export