Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
NormalMatrixQ[a_List?MatrixQ] := Module[{b = Conjugate@Transpose@a},a.b === b.a]
|
||||
UnitaryQ[m_List?MatrixQ] := (Conjugate@Transpose@m.m == IdentityMatrix@Length@m)
|
||||
|
||||
m = {{1, 2I, 3}, {3+4I, 5, I}};
|
||||
m //MatrixForm
|
||||
->
|
||||
(1 2I 3
|
||||
3+4I 5 I)
|
||||
|
||||
ConjugateTranspose[m] //MatrixForm
|
||||
->
|
||||
(1 3-4I
|
||||
-2I 5
|
||||
3 -I)
|
||||
|
||||
{HermitianMatrixQ@#, NormalMatrixQ@#, UnitaryQ@#}&@m
|
||||
-> {False, False, False}
|
||||
Loading…
Add table
Add a link
Reference in a new issue