#include "ats_Matrix3D.h" #include using namespace ats; using namespace std; int main() { { Matrix3DD mat; double a[4][4] = {{1,0,0,0},{0,1,0,0},{0,0,1,0},{0,0,0,1}}; mat.Initialize(); cout << mat << endl; mat *= a; cout << mat << endl; } { Matrix<2,2,double> mat; double a[2][2] = {{2,3},{1,2}}; double b[2][2] = {{1,0},{3,1}}; mat = a; mat *= b; cout << mat << endl; } return 0; }