No description
Find a file
2022-07-16 12:12:37 +00:00
LICENSE Initial commit 2022-07-15 09:08:22 +00:00
matrix.cpp Add conjugation and transposition 2022-07-16 14:10:50 +02:00
matrix.hpp Add conjugation and transposition 2022-07-16 14:10:50 +02:00
README.md Update 'README.md' 2022-07-16 12:12:37 +00:00

matrices

This is a matrix class.

g++ -o matrix matrix.cpp           
./matrix

The output:

The matrix m:
| 7 | 5 | i |
| 0 | 2 | 0 |
| -i | 0 | 4 |
The matrix m's transpose:
| 7 | 0 | -i |
| 5 | 2 | 0 |
| i | 0 | 4 |
The matrix m is not hermitian, here is the hermitian conjugate:
| 7 | 0 | i |
| 5 | 2 | 0 |
| -i | 0 | 4 |