@ -28,6 +28,20 @@ int main() {
GMatrix M2 = Transpose(M1);
cout << M2 << endl;
cout << M1 * M2 << endl;
cout << Det(M1) * Det(M2) << endl;
float a[] = {
1, 2, 3,
3, 1, 2,
2, 3, 1
};
GMatrix M3(3, 3, a);
GMatrix M4 = Inverse(M3);
cout << M3 << endl;
cout << M4 << endl;
cout << Det(M3) * Det(M4) << endl;
return 0;
}