blob: 516b9e7f9438b15bbf3434364b9a12aecd3a111e [file] [log] [blame]
int data[4] = {1,3,0,2};
cout << MatrixXi::map(data, 2, 2) << endl;
MatrixXi::map(data, 2, 2) *= 2;
cout << "The data is now:" << endl;
for(int i = 0; i < 4; i++) cout << data[i] << endl;