#include "GMath.h" int main() { float a[] = { 0, 0, 0, 2, 0, 0, 2, 1, 0, 2, 1, 2, 2, 1, 2, 3 }; GMatrix A(4, 4, a); //cout << B*A << endl; cout << Det(A) << endl; /*float a[] = { 1,0, 1,4 }; GMatrix A(2, 2, a); float c[] = { 0,1, 1,0 }; GMatrix C(2, 2, c); cout << A*A << endl;*/ return 0; }