Writing matrix operations and computations using Python
- Elementary Row Operations
- Transposition
- Multiplication of two nxm Matrices
current output:
[[1, 2], [5, 6]]
A =
[ 1.0 2.0 ]
[ 5.0 6.0 ]
Z =
[ 1.0 2.0 8.0 ]
[ 5.0 6.0 2.0 ]
r1 - r2 = r1
[ -4.0 -4.0 ]
[ 5.0 6.0 ]
row1*(0.25)
[ -1.0 -1.0 ]
[ 5.0 6.0 ]
A =
[ 5.0 6.0 ]
[ -1.0 -1.0 ]
C =
[ -1.0 -1.0 ]
[ 5.0 6.0 ]
D =
[ -1.0 -1.0 ]
[ 5.0 6.0 ]
A*Z:
[ 35.0 46.0 52.0 ]
[ -6.0 -8.0 -10.0 ]
A =
[ 35.0 -6.0 ]
[ 46.0 -8.0 ]
[ 52.0 -10.0 ]
D =
[ -1.0 5.0 ]
[ -1.0 6.0 ]
Process finished with exit code 0