Update 'README.md'
This commit is contained in:
parent
6474a64f96
commit
8a7399df48
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
@ -1,2 +1,21 @@
|
|||
# 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 |
|
||||
```
|
Loading…
Add table
Reference in a new issue