Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:objects:matrix:functions:conjugate [2024/12/12 16:53] Maurits W. Haverkortdocumentation: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>
  
  
Print/export