You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Micke Nordin
330f4d289d
|
2 years ago | |
---|---|---|
LICENSE | 2 years ago | |
README.md | 2 years ago | |
matrix.cpp | 2 years ago | |
matrix.hpp | 2 years ago |
README.md
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 |