This is an old revision of the document!


Conjugate

Matrix.Conjugate($M$) takes a matrix and returns it with every entry replaced by its complex conjugate.

Example

Input

Example.Quanty
A = Matrix.New({{1,1+2*I},{3,4+I}})
B = Matrix.Conjugate(A)
print(B)

Result

{ {  1 + -0 I         ,  1 - 2 I          } ,
  {  3 + -0 I         ,  4 - 1 I          } }

Table of contents

Print/export